(&self)
| 69 | } |
| 70 | |
| 71 | fn parameters(&self) -> serde_json::Value { |
| 72 | serde_json::json!({ |
| 73 | "type": "object", |
| 74 | "properties": { |
| 75 | "query": { |
| 76 | "type": "string", |
| 77 | "description": "Search query to find relevant context for APIs, Libraries, and SDKs. For example, 'React useState hook examples', 'Python pandas dataframe filtering', 'Express.js middleware', 'Next.js partial prerendering configuration'" |
| 78 | }, |
| 79 | "tokensNum": { |
| 80 | "type": "integer", |
| 81 | "minimum": 1000, |
| 82 | "maximum": 50000, |
| 83 | "default": 5000, |
| 84 | "description": "Number of tokens to return (1000-50000). Default is 5000 tokens. Adjust based on how much context you need." |
| 85 | } |
| 86 | }, |
| 87 | "required": ["query"] |
| 88 | }) |
| 89 | } |
| 90 | |
| 91 | async fn execute( |
| 92 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected