(&self)
| 48 | } |
| 49 | |
| 50 | fn parameters(&self) -> serde_json::Value { |
| 51 | serde_json::json!({ |
| 52 | "type": "object", |
| 53 | "properties": { |
| 54 | "url": { |
| 55 | "type": "string", |
| 56 | "description": "The URL to fetch content from" |
| 57 | }, |
| 58 | "format": { |
| 59 | "type": "string", |
| 60 | "enum": ["text", "markdown", "html"], |
| 61 | "default": "markdown", |
| 62 | "description": "The format to return the content in (text, markdown, or html). Defaults to markdown." |
| 63 | }, |
| 64 | "timeout": { |
| 65 | "type": "number", |
| 66 | "description": "Optional timeout in seconds (max 120)" |
| 67 | } |
| 68 | }, |
| 69 | "required": ["url"] |
| 70 | }) |
| 71 | } |
| 72 | |
| 73 | async fn execute( |
| 74 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected