get_collection
Retrieve detailed information about a specific collection in a PocketBase database, including fields and metadata, using its ID or name.
Instructions
Get details for a 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 |
Input Schema (JSON Schema)
{
"properties": {
"collectionIdOrName": {
"description": "ID or name of the collection to view",
"type": "string"
},
"fields": {
"description": "Comma separated string of the fields to return in the JSON response",
"type": "string"
}
},
"required": [
"collectionIdOrName"
],
"type": "object"
}