Delete Workspace Subgraph
delete_workspace_subgraphDelete a subgraph from a workspace. The subgraph is removed but its member nodes are not deleted. Resolves subgraph by ID or name.
Instructions
Delete a subgraph from a workspace. Destructive — the subgraph is removed but its member nodes are NOT deleted. Pass either subgraphID (preferred) or subgraphName with optional repoPath.
Args:
workspaceID (string, required): The workspace ID
subgraphID (string, optional): The subgraph ID. Preferred when known.
subgraphName (string, optional): The subgraph name. Resolved via cache → repo when subgraphID is absent (the Coalesce API has no subgraph list endpoint).
repoPath (string, optional): Coalesce repo path for subgraph YAML lookup.
confirmed (boolean, optional): Set to true after the user explicitly confirms deletion
Returns: Confirmation message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Optional Coalesce repo path for subgraph YAML lookup. Falls back to COALESCE_REPO_PATH or the coa profile. | |
| confirmed | No | Set to true after the user explicitly confirms the deletion. | |
| subgraphID | No | The subgraph ID to delete. Preferred when known. | |
| workspaceID | Yes | The workspace ID | |
| subgraphName | No | The subgraph name. Resolved via cache → repo when subgraphID is absent (the Coalesce API has no subgraph list endpoint). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| message | No |