(self)
| 22 | |
| 23 | @property |
| 24 | def input_schema(self) -> dict[str, Any]: |
| 25 | return { |
| 26 | "type": "object", |
| 27 | "properties": { |
| 28 | "path": {"type": "string", "description": "Absolute or relative path to the file."}, |
| 29 | "content": {"type": "string", "description": "The content to write."}, |
| 30 | }, |
| 31 | "required": ["path", "content"], |
| 32 | } |
| 33 | |
| 34 | def execute(self, params: dict[str, Any]) -> ToolResult: |
| 35 | filepath = Path(params["path"]).expanduser() |
nothing calls this directly
no outgoing calls
no test coverage detected