Fields of a node type
type_infoRetrieve all fields, units, and allowed values for a uniwire electrical node type before writing or editing it, ensuring valid diagram JSON.
Instructions
Return every field of one node type with its description, unit and allowed values (enums). Use it before writing or editing a node of that type; list_types gives the type names.
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": {
"type": "<type>"
},
"name": "type_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the returned texts: 'en' (English) or 'fr' (French). | en |
| type | Yes | A node type name from list_types, e.g. 'breaker', 'rcd', 'socket'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||