Get Card
get_cardRetrieve a single knowledge card by ID to access full metadata, body, trust and status labels. Use compact mode to return only the first 600 characters.
Instructions
Read a single knowledge card by id — full metadata, body, trust, and status labels (draft -> untrusted, deprecated -> deprecated + reason, restricted -> restricted). Same content as the knowledge://card/{id} Resource (unless compact). "replacement.pending": a draft proposes to replace this card; it is still the current answer, tell the user. "replacement.superseded_by": read that card instead. The card carries "source" (repo, commit, approval date) — when a card from another project helps, tell the user which project and commit it came from. Every response carries a write_back_reminder: after using this card you MUST call report_card_usage(id, outcome). compact: true returns only the first 600 characters of the body (truncated: true when cut); call again without it for the full card.
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": "get_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Card id, e.g. "pattern-use-x-pattern" | |
| compact | No | When true, return only the first 600 characters of the body (truncated: true when cut). Default false: the full body. |