get_logic_by_id
Fetch parsed physics context for a Kangaroo2 or Karamba3D archetype by providing the Grasshopper filename. Returns detected components, descriptions, and extracted metadata.
Instructions
Retrieves parsed physics context for a specific Kangaroo2 or Karamba3D archetype. Returns detected components, descriptions, and metadata extracted from the Grasshopper binary file.
Args: logic_id: The filename (without extension) of the Grasshopper file. Use list_library() first to see available IDs. Examples: catenary, bending, 01_simplebeam Returns: JSON string with detected physics components and context, or error.
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": {
"logic_id": "<logic_id>"
},
"name": "get_logic_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logic_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |