Files
AutoMetabuilder/backend/autometabuilder/workflow/plugins/tools/tools_read_file.py
2026-01-10 13:36:29 +00:00

8 lines
208 B
Python

"""Workflow plugin: read file."""
def run(runtime, inputs):
"""Read a file via tool runner."""
result = runtime.tool_runner.call("read_file", path=inputs.get("path"))
return {"content": result}