(&self)
| 54 | } |
| 55 | |
| 56 | fn parameters(&self) -> serde_json::Value { |
| 57 | serde_json::json!({ |
| 58 | "type": "object", |
| 59 | "properties": { |
| 60 | "file_path": { |
| 61 | "type": "string", |
| 62 | "description": "The absolute path to the file or directory to read" |
| 63 | }, |
| 64 | "offset": { |
| 65 | "type": "number", |
| 66 | "description": "The line number to start reading from (1-indexed)" |
| 67 | }, |
| 68 | "limit": { |
| 69 | "type": "number", |
| 70 | "description": "The maximum number of lines to read (defaults to 2000)" |
| 71 | } |
| 72 | }, |
| 73 | "required": ["file_path"] |
| 74 | }) |
| 75 | } |
| 76 | |
| 77 | async fn execute( |
| 78 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected