linear_searchDocuments
Search Linear documents by term, with options to scope by team, include archived, and sort results to locate relevant content.
Instructions
Search Linear documents by term
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"term": "<term>"
},
"name": "linear_searchDocuments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | Search term for document titles and content | |
| limit | No | Maximum number of results to return (default: 25) | |
| teamId | No | Optional team ID to scope the search | |
| orderBy | No | Sort results by created or updated date | |
| snippetSize | No | Optional snippet size for search result context | |
| includeArchived | No | Include archived documents in the search | |
| includeComments | No | Include comment matches in the search payload when supported |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | No | ||
| totalCount | No |