Search project content
search_contentSearch a project's pages and collection entries by text. Collections themselves are not searchable: list_collections lists them. Returns { results, limit, capped }: at most limit pages and limit entries, each with its type and metadata; capped true means there may be more, so narrow the query or raise the limit.
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": {
"projectId": "<projectId>",
"query": "<query>"
},
"name": "search_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most results of each kind, pages and entries (1 to 50, default 20) | |
| query | Yes | Search query text | |
| entity | No | Only pages, or only collection entries (entries with their own page are found through their page and marked pageBackedEntry) | |
| projectId | Yes | The project ID |