Search or browse the block library
The search_library MCP tool: search or browse the block library.
search_library · read-only
What the model reads
The agency's saved blocks (Catalog → Blocks): reusable itinerary pieces such as a day or a section. Filter by tag. Without q, browses the most recently changed first, paged by nextCursor; updatedSince keeps only rows changed since (a polling trigger's watermark). With q, returns one page of the best matches, ranked.
Permissions: catalog:read.
Input
| Field | Type | Required | Description |
|---|---|---|---|
q |
string | max 200 chars | |
tag |
string | max 60 chars | |
limit |
integer | 1–100, default 25 | |
cursor |
string | max 500 chars | |
updatedSince |
datetime |
Input schema (JSON)
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"tag": {
"type": "string",
"minLength": 1,
"maxLength": 60
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 25
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"updatedSince": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
}