Search the knowledge base
- Permission required
agent:runtime(agent keys only)
When to use it
Searches the centre's information (hours, prices, services…). Answer only with what it returns; if nothing, do not make it up.
Input
| Field | Type | Description |
|---|---|---|
queryRequired | string | What they ask, in their words |
limit | integer | Sections (default 3) |
Every tool also accepts lang (es | en) for the language of the text answer.
Output
| Field | Type | Description |
|---|---|---|
availableRequired | boolean | |
reasonRequired | string | null | |
kb_versionRequired | string | null | |
resultsRequired | object[] | |
results[].titleRequired | string | |
results[].categoryRequired | string | null | |
results[].contentRequired | string |
Examples
Example 1: Pool hours
Call
{
"name": "kb_search",
"arguments": {
"query": "horario de la piscina"
}
}Equivalent JSON-RPC call (POST /mcp)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "kb_search",
"arguments": {
"query": "horario de la piscina"
}
}
}