Get a Workflow
get_workflowOne Workflow with its current version and definition, and its connection as list_workflows reports it. currentVersion.number is the baseVersion set_workflow_languages and reconnect_workflow take. An inactive connection names its repair: installation_deleted, installation_missing and inactive — reconnect_workflow, once a live installation can see the repository (start_github_install when none can); installation_suspended — an owner unsuspends the installation on GitHub, which reactivates it; a GitLab Workflow’s connection_missing, connection_revoked and connection_expired — connect GitLab again in the web app (the same GitLab user reactivates it), or reconnect_workflow once another active GitLab connection can read the project. When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.
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": {
"workflowId": "<workflowId>"
},
"name": "get_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | Workflow id, from list_workflows or set_up_workflow |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| active | Yes | Whether its Input’s connection is healthy: a GitHub Input’s credentials, a Contentful Input’s space linked to this organisation, or a Chatwoot Input’s connection `connected`. An inactive Workflow starts no runs. | |
| archived | Yes | ||
| createdAt | Yes | ||
| updatedAt | Yes | ||
| archivedAt | Yes | ||
| connection | Yes | `ok`, or why the Workflow is inactive: `installation_deleted`, `installation_missing`, `installation_suspended`, a GitLab Workflow’s `connection_missing`, `connection_revoked` or `connection_expired`, or `inactive` | |
| description | Yes | ||
| handsBackTo | Yes | The Project Repositories on the repository the Workflow holds: archiving it hands the repository back to them. Empty while archived. | |
| currentVersion | Yes |