(&self)
| 50 | } |
| 51 | |
| 52 | fn parameters(&self) -> serde_json::Value { |
| 53 | serde_json::json!({ |
| 54 | "type": "object", |
| 55 | "properties": { |
| 56 | "toolCalls": { |
| 57 | "type": "array", |
| 58 | "minItems": 1, |
| 59 | "maxItems": 25, |
| 60 | "items": { |
| 61 | "type": "object", |
| 62 | "properties": { |
| 63 | "tool": { |
| 64 | "type": "string", |
| 65 | "description": "The name of the tool to execute" |
| 66 | }, |
| 67 | "parameters": { |
| 68 | "type": "object", |
| 69 | "description": "Parameters for the tool" |
| 70 | } |
| 71 | }, |
| 72 | "required": ["tool", "parameters"] |
| 73 | }, |
| 74 | "description": "Array of tool calls to execute in parallel" |
| 75 | } |
| 76 | }, |
| 77 | "required": ["toolCalls"] |
| 78 | }) |
| 79 | } |
| 80 | |
| 81 | async fn execute( |
| 82 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected