get_part
Retrieve a power-tree part by ID or unique name in list_parts format, including upstream and downstream part IDs, and get candidate IDs when a name is ambiguous.
Instructions
Return one part (give part_id, or part_name when the name is unique) in the
list_parts format, plus upstream and downstream: the ids of parts that feed it and
parts it feeds. An
ambiguous name fails with AMBIGUOUS_PART and the hint lists the candidate ids.
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": {
"tree_id": "<tree_id>"
},
"name": "get_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | ||
| part_id | No | ||
| tree_id | Yes | ||
| part_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||