add_resource
Create a Resource subclass instance and assign it to a node property for customization.
Instructions
Create a Resource subclass instance and assign it to a node property
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": {
"node_path": "<node_path>",
"property": "<property>",
"resource_type": "<resource_type>"
},
"name": "add_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property | Yes | ||
| node_path | Yes | ||
| resource_type | Yes | ||
| resource_properties | No |