You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Read a definition's workflow graph, in the exact `{schemaVersion, nodes, edges}` shape workflows.save_draft accepts, for BOTH the current draft and the deployed version. Every node carries its full `configuration`, `inputs` and `additionalInputs`, and the pinned `repositoryScope` rides along too, so a graph fetched here can be edited and sent straight back to workflows.save_draft without losing anything: saving the unmodified draft yields the same `graphHash` this tool reports for it in `draftGraphHash`. `draftRevision` is the token workflows.save_draft takes as `expectedDraftRevision` (0 for a definition that has never been saved, where `draft` is null), and `deployedVersion` is the token workflows.publish takes as `expectedDeployedVersion` (null when nothing is deployed yet, where `deployed` is null). `draftGraphHash` and `deployedGraphHash` are sha256 over the canonical JSON of each stored version, directly comparable with the `graphHash` workflows.save_draft and workflows.publish report for the same version. Any secret configured for this deployment is redacted from the reply exactly as everywhere else on this surface; a stored graph does not carry one, so that redaction leaves the round trip lossless. An unknown or archived definition is NOT_FOUND.",
"description": "Turn a definition's `enabled` switch on or off, independent of publishing: this is the one field workflows.publish inherits rather than sets. Runs through exactly the dashboard's own guardrails. Enabling a definition with no deployable version is refused with CONFLICT, and enabling one whose deployed graph no longer passes the deployment gate with VALIDATION_FAILED. Enabling a definition whose trigger another enabled definition already owns is refused with CONFLICT naming that definition (for example, a second `trigger_ticket_ai` while one is already enabled), so two definitions cannot silently answer the same event. Enabling arms the deployed head's real-event triggers, minting webhook endpoints and syncing schedule rows, so from then on real ticket and pull request events execute this graph; disabling releases those bindings, so they stop. `enabled` in the reply is the resulting state and `triggerTypes` the triggers now (or no longer) live. Idempotent per idempotencyKey. A concurrent change to the definition is refused with CONFLICT: reload before retrying.",
"Read a definition's workflow graph, in the exact `{schemaVersion, nodes, edges}` shape workflows.save_draft accepts, for BOTH the current draft and the deployed version. Every node carries its full `configuration`, `inputs` and `additionalInputs`, and the pinned `repositoryScope` rides along too, so a graph fetched here can be edited and sent straight back to workflows.save_draft without losing anything: saving the unmodified draft yields the same `graphHash` this tool reports for it in `draftGraphHash`. `draftRevision` is the token workflows.save_draft takes as `expectedDraftRevision` (0 for a definition that has never been saved, where `draft` is null), and `deployedVersion` is the token workflows.publish takes as `expectedDeployedVersion` (null when nothing is deployed yet, where `deployed` is null). `draftGraphHash` and `deployedGraphHash` are sha256 over the canonical JSON of each stored version, directly comparable with the `graphHash` workflows.save_draft and workflows.publish report for the same version. Any secret configured for this deployment is redacted from the reply exactly as everywhere else on this surface; a stored graph does not carry one, so that redaction leaves the round trip lossless. An unknown or archived definition is NOT_FOUND.",
"Turn a definition's `enabled` switch on or off, independent of publishing: this is the one field workflows.publish inherits rather than sets. Runs through exactly the dashboard's own guardrails. Enabling a definition with no deployable version is refused with CONFLICT, and enabling one whose deployed graph no longer passes the deployment gate with VALIDATION_FAILED. Enabling a definition whose trigger another enabled definition already owns is refused with CONFLICT naming that definition (for example, a second `trigger_ticket_ai` while one is already enabled), so two definitions cannot silently answer the same event. Enabling arms the deployed head's real-event triggers, minting webhook endpoints and syncing schedule rows, so from then on real ticket and pull request events execute this graph; disabling releases those bindings, so they stop. `enabled` in the reply is the resulting state and `triggerTypes` the triggers now (or no longer) live. Idempotent per idempotencyKey. A concurrent change to the definition is refused with CONFLICT: reload before retrying.",
0 commit comments