read_component
Inspect this document's components. mode "list" returns summaries — name, type, what each calls and is called by, whether the entry can reach it, its explicit lock and any inherited protection — without any source. mode "read" returns one component's owned source. Read before editing: a summary is not the code, and protection decides whether an edit will be accepted at all.
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": {
"documentId": "<documentId>",
"mode": "<mode>",
"llm_model": "<llm_model>"
},
"name": "read_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| name | No | read: the partial name, if you do not have the id. | |
| type | No | list: filter by type. | |
| parts | No | read: which source parts to return. Defaults to all three. | |
| search | No | list: substring match on name, label or description. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| documentId | Yes | The catalogue's id. Call list_documents first if you do not have one. | |
| componentId | No | read: the component id. | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |