Delete Task

Delete_Task removes a task record using a single GovTribe task ID.

Input Contract

Delete_Task has a compact request contract centered on model binding and authorization. The request resolver first validates task_id as a string GovTribe ID, binds it to an existing task model, and then enforces delete authorization for the calling user. If the ID is invalid, missing, or not visible to the caller, the request fails before deletion executes.

  • task_id: GovTribe task identifier for the task to delete.

    • type: string

    • required: yes

    • default: n/a

Output Contract

  • Top-level keys:

    • response

  • Row keys:

    • n/a

  • Relationship retrieval map:

    • task_id (input context)

      • tool: Search_Tasks

      • filter: task_ids

      • fallback: after deletion, this lookup may return zero rows; use your previously captured task context for audit history.

Usage Patterns

Pattern A: Direct delete when the task ID is already known. Tool: Delete_Task

Last updated

Was this helpful?