Search Cosmos
cosmos_search_postsSearch Cosmos elements, paginated.
Elements matching a query (Cosmos’s visual search), 40 a page; continue with after.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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": {
"q": "<q>"
},
"name": "cosmos_search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search terms. | |
| after | No | The previous page’s meta.next_token. |