(self)
| 177 | |
| 178 | @property |
| 179 | def parameters(self) -> dict[str, Any]: |
| 180 | return { |
| 181 | "type": "object", |
| 182 | "properties": { |
| 183 | "path": { |
| 184 | "type": "string", |
| 185 | "description": "Absolute or relative path to the file", |
| 186 | }, |
| 187 | "content": { |
| 188 | "type": "string", |
| 189 | "description": "Complete content to write (will replace existing content)", |
| 190 | }, |
| 191 | }, |
| 192 | "required": ["path", "content"], |
| 193 | } |
| 194 | |
| 195 | async def execute(self, path: str, content: str) -> ToolResult: |
| 196 | """Execute write file.""" |
nothing calls this directly
no outgoing calls
no test coverage detected