11 lines
446 B
Markdown
11 lines
446 B
Markdown
# Plan: Fix tool_load to return schema + docs
|
|
|
|
The problem: tool_load returns bare "loaded: {name}" with no metadata.
|
|
The agent can't see the schema or usage docs without reading source files.
|
|
|
|
Fix: make ToolLoad return the full ToolInfo (name, description, input_schema, prompt)
|
|
so the agent sees how to use the tool immediately after loading.
|
|
|
|
1. Modify ToolLoad in tools/tool.go to return structured JSON with schema + prompt
|
|
2. Commit + push
|