Parse Disk Node YAML to Workspace Body
parse_disk_node_to_workspace_bodyConvert an on-disk YAML node into a cloud workspace node body for set or update operations, handling schema translation between disk and cloud formats.
Instructions
Convert an on-disk coa node YAML (the nodes/*.yml format) into a cloud workspace-node body suitable for set_workspace_node or update_workspace_node. Returns the cloud-shape object.
Use this when local-dev edits to a YAML node need to be pushed back to a cloud workspace without manually translating the schema (operation: → flat top-level, stepCounter/columnCounter → nodeID/columnID, sourceColumnReferences[] → sources[]).
For nodes that originated in the cloud, UUIDs round-trip and the cloud will treat the result as an idempotent update. For nodes authored from scratch on disk, the UUIDs are local-only — use create_workspace_node_from_predecessor or create_workspace_node_from_scratch instead of pushing this body via set/update.
Provide one of:
yaml: raw YAML string (will be parsed)diskNode: pre-parsed disk-shape object
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||