collection_by_id
Retrieve detailed information about a specific collection by its ID, including tags, spec metadata, and method statistics.
Instructions
collection_by_id
Retrieves detailed information about a specific collection including its tags, spec metadata, and method statistics.
When to use
Use this tool when:
You have a collection ID and want to see its tags before drilling into endpoints
The user asks for details about a specific collection like "show me what's in the pets collection"
You need to see the spec that owns this collection
To list all collections in a spec first, use collection_by_spec instead.
Parameters
id(required): The 32-character MD5 hash ID of the collection
Returns
The collection's spec (ID, domain), collection details (ID, title, method count), and a list of tags with their IDs, titles, and method counts.
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": {
"id": "<id>"
},
"name": "collection_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier for the collection,required |