(&self)
| 23 | } |
| 24 | |
| 25 | fn parameters(&self) -> serde_json::Value { |
| 26 | serde_json::json!({ |
| 27 | "type": "object", |
| 28 | "properties": { |
| 29 | "toolName": { |
| 30 | "type": "string", |
| 31 | "description": "The name of the invalid tool that was requested" |
| 32 | }, |
| 33 | "errorMessage": { |
| 34 | "type": "string", |
| 35 | "description": "Description of why the tool call is invalid" |
| 36 | }, |
| 37 | "receivedArgs": { |
| 38 | "type": "object", |
| 39 | "description": "The arguments that were passed to the invalid tool" |
| 40 | } |
| 41 | }, |
| 42 | "required": ["toolName", "errorMessage"] |
| 43 | }) |
| 44 | } |
| 45 | |
| 46 | async fn execute( |
| 47 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected