Search public gallery
search_gallerySearch the BrewPage public gallery with text queries, pagination, date or view sorting, and optional owner-only filtering.
Instructions
Search the BrewPage public gallery. Optional filters: text query, pagination, sort, and 'mine' (owner-scoped, requires owner token).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_gallery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text search query | |
| mine | No | If true, restricts results to entries owned by the supplied owner token | |
| page | No | Page number (1-based; default 1) | |
| size | No | Page size (1-100; backend caps at 100) | |
| sort | No | Sort order: 'date' or 'views' | |
| ownerToken | No | Owner token; only sent as X-Owner-Token when 'mine' is true. Default: env BREWPAGE_OWNER_TOKEN (local server only). |