(&self)
| 55 | } |
| 56 | |
| 57 | fn parameters(&self) -> serde_json::Value { |
| 58 | serde_json::json!({ |
| 59 | "type": "object", |
| 60 | "properties": { |
| 61 | "command": { |
| 62 | "type": "string", |
| 63 | "description": "The command to execute" |
| 64 | }, |
| 65 | "timeout": { |
| 66 | "type": "number", |
| 67 | "description": "Optional timeout in milliseconds" |
| 68 | }, |
| 69 | "workdir": { |
| 70 | "type": "string", |
| 71 | "description": "The working directory to run the command in" |
| 72 | }, |
| 73 | "description": { |
| 74 | "type": "string", |
| 75 | "description": "Clear, concise description of what this command does" |
| 76 | } |
| 77 | }, |
| 78 | "required": ["command", "description"] |
| 79 | }) |
| 80 | } |
| 81 | |
| 82 | async fn execute( |
| 83 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected