get_collection
Retrieve collection details including schema and fields from a PocketBase database using the collection ID or name.
Instructions
Get details for a collection
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": {
"collectionIdOrName": "<collectionIdOrName>"
},
"name": "get_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionIdOrName | Yes | ID or name of the collection to view | |
| fields | No | Comma separated string of the fields to return in the JSON response |