taskSupport property

ToolExecutionTaskSupport? get taskSupport

Indicates whether this tool supports task-augmented execution. This allows clients to handle long-running operations through polling the task system.

  • "forbidden": Tool does not support task-augmented execution (default when absent)
  • "optional": Tool may support task-augmented execution
  • "required": Tool requires task-augmented execution

Default: "forbidden"

Implementation

ToolExecutionTaskSupport? get taskSupport => $optional('taskSupport', $enum(ToolExecutionTaskSupport.of));