set_node_attributes
Set or update attributes on one or more nodes in a graph by providing a mapping of node identifiers to attribute value dictionaries.
Instructions
Set attributes on one or more nodes
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": {
"graph": "<graph>",
"attributes": "<attributes>"
},
"name": "set_node_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | ||
| attributes | Yes | Map of node -> {attr: value} |