The toolkit enables an Agent to search the web using the Linkup API
Function | Description |
---|---|
web_search_with_linkup | Searches the web for a query using Linkup API. Takes a query string and optional depth/output_type parameters. Returns search results as a string. |
Parameter | Type | Default | Description |
---|---|---|---|
api_key | Optional[str] | None | API key for authentication. If not provided, will check LINKUP_API_KEY environment variable. |
depth | Literal["standard", "deep"] | "standard" | Depth of the search. Use ‘standard’ for fast and affordable web search or ‘deep’ for comprehensive, in-depth web search. |
output_type | Literal["sourcedAnswer", "searchResults"] | "searchResults" | Type of output. ‘sourcedAnswer’ provides a comprehensive natural language answer to the query along with citations to the source material. ‘searchResults’ returns the raw search context data without synthesis. |