Use cases and templates: Linkup integration for AI agents
Use Linkup to search the web from a workflow or an agent's tool set. Choose the supported search depth and output type for your query; results can include source URLs for downstream citation.
Supply your Linkup API key and query in the block. When using it as an agent tool, the agent decides when to call it based on its instructions.
Use the block
Search the web with a Linkup API key, query, supported search depth, and output type.
Actions
Linkup Search
Search the web for information using Linkup
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | The search query (e.g., "latest AI research papers 2024") |
depth | string | Yes | Search depth: "standard" for quick results, "deep" for comprehensive search |
outputType | string | Yes | Output format: "sourcedAnswer" for AI-generated answer with citations, "searchResults" for raw results |
apiKey | string | Yes | Enter your Linkup API key |
includeImages | boolean | No | Whether to include images in search results |
fromDate | string | No | Start date for filtering results (YYYY-MM-DD format) |
toDate | string | No | End date for filtering results (YYYY-MM-DD format) |
excludeDomains | string | No | Comma-separated list of domain names to exclude from search results |
includeDomains | string | No | Comma-separated list of domain names to restrict search results to |
includeInlineCitations | boolean | No | Add inline citations to answers (only applies when outputType is "sourcedAnswer") |
includeSources | boolean | No | Include sources in response |
Output
| Parameter | Type | Description |
|---|---|---|
answer | string | The sourced answer to the search query |
sources | array | Array of sources used to compile the answer, each containing name, url, and snippet |