Set Workspace Node
set_workspace_nodeUpdate a workspace node's full body. Reads current state, merges changes, validates, and writes back, preserving column linkages and metadata automatically.
Instructions
Update a workspace node's full body. Reads current state, merges changes, validates, and writes back.
This is the primary mutation tool for workspace nodes. It handles column linkage preservation, passthrough transform stripping, required API field injection, and metadata cleaning automatically.
Args:
workspaceID (string, required): The workspace ID
nodeID (string, required): The node ID
body (object, required): Fields to update — name, description, nodeType, config, metadata.columns, etc.
Returns: { nodeID, created, warning?, validation?, configCompletion? }
Do NOT set overrideSQL or metadata.sourceMapping through this tool. Use apply_join_condition or convert_join_to_aggregation for join/aggregation changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Complete node data to set. Common fields include name, description, nodeType, table, database, schema, locationName, storageLocations, config, and metadata. Do not include overrideSQL — it is auto-preserved. | |
| nodeID | Yes | The node ID | |
| workspaceID | Yes | The workspace ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeID | No | ||
| created | No | ||
| warning | No | ||
| nextSteps | No | ||
| validation | No | ||
| joinSuggestions | No | ||
| configCompletion | No | ||
| nodeTypeValidation | No | ||
| configCompletionSkipped | No |