On this page

Automation

delete-schedule

Can be held for approval

Cancel and remove a schedule by its schedule_id. Needs the fabric:orchestrate.write grant.

curl -sS -X POST https://fabric.wexa.ai/mcp/$FABRIC_PROJECT_ID \
  -H "authorization: Bearer $FABRIC_API_KEY" \
  -H "Mcp-Session-Id: $MCP_SESSION_ID" \
  -H "content-type: application/json" -H "accept: application/json" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"delete-schedule","arguments":{"schedule_id":"6ab196817566f41b5c28e341"}}}'
{
  "content": [
    {
      "type": "text",
      "text": "{\"lifecycle_id\":\"qlc_000212\",\"result\":{\"deleted\":true,\"schedule_id\":\"6ab196817566f41b5c28e341\"}}"
    }
  ],
  "isError": false
}

Parameters

ParameterTypeRequiredNotes
schedule_idstringRequiredSchedule id from list-schedules. A schedule in this project.
Show full response

A real response, captured from a live call to delete-schedule:

{
  "lifecycle_id": "qlc_000212",
  "result": {
    "deleted": true,
    "schedule_id": "6ab196817566f41b5c28e341"
  }
}
More details

A schedule that has already executed cannot be removed. The backend asks you to mark it inactive with update-schedule instead.

Marked consequential: it is audited in full, and a policy rule may hold it for a person to approve. See Policy and approvals.

Every tool call works the same way: How every tool call works.