cancel

suspend fun cancel(taskId: String)(source)

Ask the agent to cancel taskId.