()
| 89 | err, |
| 90 | ), nil |
| 91 | } |
| 92 | return output, nil |
| 93 | } |
| 94 | |
| 95 | func (t *MCPDynamicTool) ToAPISchema() map[string]any { |
| 96 | return map[string]any{ |
| 97 | "name": t.Name(), |
| 98 | "description": t.Description(), |
| 99 | "input_schema": BuildMCPInputSchema(t.ToolName, t.RawSchema), |
| 100 | } |