Skip to content

workflow_status

Meta Read only

Read a private durable workflow summary bound to the exact profile and target. Returns: status and step counts without arguments, results, credentials, or Discord payloads.

{
"name": "workflow_status",
"arguments": {
"id": "wf_0123456789abcdef0123456789abcdef",
"target": {
"profile_id": "devbot",
"bot_id": "123456789012345678",
"guild_id": "123456789012345679",
"channel_id": "123456789012345680"
}
}
}
Field Type Required Constraints Description
id string yes pattern: ^wf_[0-9a-f]{32}$
target object yes
Complete input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^wf_[0-9a-f]{32}$"
},
"target": {
"type": "object",
"properties": {
"profile_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bot_id": {
"type": "string",
"pattern": "^\\d{17,20}$"
},
"guild_id": {
"type": "string",
"pattern": "^\\d{17,20}$"
},
"channel_id": {
"type": "string",
"pattern": "^\\d{17,20}$"
}
},
"required": [
"profile_id"
]
}
},
"required": [
"id",
"target"
]
}

The structured result returned by the Discord API adapter.

{
"id": "123456789012345678",
"status": "example",
"target": {
"profile_id": "123456789012345678"
},
"current_step": 1,
"total_steps": 1,
"completed_steps": 1,
"cancel_requested": true,
"updated_at": "example"
}
Field Type Required Constraints Description
id string yes
status string yes
target object yes
current_step number yes
total_steps number yes
completed_steps number yes
cancel_requested boolean yes
updated_at string yes
failure object no
Complete output JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"target": {
"type": "object",
"properties": {
"profile_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"bot_id": {
"type": "string",
"pattern": "^\\d{17,20}$"
},
"guild_id": {
"type": "string",
"pattern": "^\\d{17,20}$"
},
"channel_id": {
"type": "string",
"pattern": "^\\d{17,20}$"
}
},
"required": [
"profile_id"
],
"additionalProperties": false
},
"current_step": {
"type": "number"
},
"total_steps": {
"type": "number"
},
"completed_steps": {
"type": "number"
},
"cancel_requested": {
"type": "boolean"
},
"updated_at": {
"type": "string"
},
"failure": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"additionalProperties": false
}
},
"required": [
"id",
"status",
"target",
"current_step",
"total_steps",
"completed_steps",
"cancel_requested",
"updated_at"
],
"additionalProperties": false
}
Property Value
Read-only yes
Destructive no
Idempotent yes
Open-world no
Confirmation required no
  • The meta category remains available even when MCP_CATEGORIES is restricted.
  • Access contract: scope=local; this tool uses no Discord credential (local or external operation) and is scoped to the local compiler/validator only.
  • No named Discord permission bit is asserted by this contract.
  • Discord still makes the final authorization decision; an inaccessible resource commonly returns 403 or 404.

packages/mcp-core/src/tools/meta/workflow-status.ts