XAgent icon

XAgent

Create and run xagent tasks

Task → Cancel

AI-generated

Summary

Cancel a task by its ID.

Inputs

  • taskId (required) — The ID of the task to cancel (provided via the Task ID parameter).

Output shape

json

The operation returns the JSON representation of the CancelTaskResponse protobuf message, along with n8n metadata (pairedItem) indicating the source input item.

Examples

Example 1: Cancel a previously created task.

Set Operation to Cancel and provide the Task ID of the task to stop.

Links

Discussion