Get collection
get_collectionGet a PocketBase collection by ID or name, including its full field schema, rules, and indexes.
Instructions
Fetch a single collection by its id or name, including its full field schema, rules and indexes.
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": {
"idOrName": "<idOrName>"
},
"name": "get_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated list of fields to return. | |
| idOrName | Yes | Collection id or name. |