Get one resource record
get_resourceFetch a single resource record by ID or name, and reduce token usage by requesting a summary or specific fields.
Instructions
Fetch a single record of a resource by its id (or name, for tags). Control the token cost: summary:true returns an overview (bulk fields become size stats — a block drops ~2,750 → ~150 tokens); fields:[…] returns just those top-level fields (+ id). Omit both for the full record.
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": {
"resource": "<resource>",
"id": "<id>"
},
"name": "get_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record id (the resource's id_param from describe_resource). | |
| fields | No | Return only these top-level fields (+ the record's id). Cheaper than the full record. | |
| summary | No | Return an overview: identity fields verbatim, bulky fields as size stats with a head preview. | |
| resource | Yes | Resource type. Call describe_resource for fields and supported verbs. |