Create Workspace Subgraph
create_workspace_subgraphCreate a subgraph in a Coalesce workspace to visually group nodes. Provide workspace ID, name, and array of node IDs; returns a subgraph UUID for future edits.
Instructions
Create a subgraph in a Coalesce workspace. Subgraphs group nodes visually. The assigned UUID is cached locally so future edits can reference the subgraph by name.
Args:
workspaceID (string, required): The workspace ID
name (string, required): Subgraph name
steps (string[], required): Array of node IDs to include
Returns: { subgraphID, subgraph, cached, message } — subgraphID is the UUID; cache it if you need to edit this subgraph later.
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": {
"workspaceID": "<workspaceID>",
"name": "<name>",
"steps": "<steps>"
},
"name": "create_workspace_subgraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the subgraph | |
| steps | Yes | Array of node IDs to include in the subgraph | |
| workspaceID | Yes | The workspace ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| message | No |