Generate Set Workspace Node Template
generate_set_workspace_node_templateCreates a YAML template for workspace nodes using raw node definitions or committed repo types, omitting SQL overrides.
Instructions
Generate a YAML-friendly set_workspace_node body template either from a raw node definition object or by resolving a committed node type from a local repo. Prefer repo mode when a local committed repo contains the definition; use the corpus tools when repo-backed resolution is unavailable. SQL override controls are removed from returned templates because they are disallowed in this project.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_set_workspace_node_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeID | No | Optional node ID for comparing inferred mappings to a live workspace node. | |
| schema | No | Optional schema value to include in the template. | |
| database | No | Optional database value to include in the template. | |
| nodeName | No | Optional node name to inject into the generated template. | |
| nodeType | No | Exact repo node type identifier in repo mode, or optional nodeType override in raw mode. | |
| repoPath | No | Optional local committed repo path for repo mode. Falls back to COALESCE_REPO_PATH or `repoPath` in the active ~/.coa/config profile when omitted. | |
| definition | No | Raw parsed node definition object for template generation in raw mode. | |
| workspaceID | No | Optional workspace ID for comparing inferred mappings to a live workspace node. | |
| locationName | No | Optional storage location name to include in the template. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warnings | No | ||
| comparison | No | ||
| nodeDefinition | No | ||
| nodeMetadataSpecYaml | No | ||
| setWorkspaceNodeBodyTemplate | No | ||
| setWorkspaceNodeBodyTemplateYaml | No |