Search Tool
AI-generatedSummary
Send a GET request with a search query and limit to a specified API URL and return a list of matching results as JSON.
Inputs
- API URL (required) — The URL to which the HTTP GET search request is made.
- Default Limit — Default number of search results to return if no limit is specified.
- Max Limit — Maximum allowable number of search results to return.
- Description — A textual description of the tool for AI usage.
- Query Field Description — Description of the search query field for the AI tool schema.
- Limit Field Description — Description of the maximum number of results field for the AI tool schema.
Output shape
A single JSON string representing an object containing the search status, query, applied result limit, and an array of result content strings.
The results array contains strings extracted from the 'page_content' field of each returned item if present, or empty strings otherwise. On error, the JSON includes error details. The operation is designed to be used as an AI tool with input fields 'query' (string) and 'limit' (integer), enforcing limits and formatting requests accordingly.