# CancelAsyncTaskSchema

> **Class** in `deepagents`

📖 [View in docs](https://reference.langchain.com/python/deepagents/middleware/async_subagents/CancelAsyncTaskSchema)

Input schema for the `cancel_async_task` tool.

## Signature

```python
CancelAsyncTaskSchema()
```

## Extends

- `BaseModel`

## Properties

- `task_id`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/b710a69b12e49479045eaa54dfb709326473500b/libs/deepagents/deepagents/middleware/async_subagents.py#L149)