446 B
446 B
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.
- Modify ToolLoad in tools/tool.go to return structured JSON with schema + prompt
- Commit + push