pub async fn tool_task_support(
handler: &dyn DynToolHandler,
name: &str,
ctx: &Context<'_>,
) -> TaskSupportExpand description
The task-augmentation support a tool declares (Tool.execution.taskSupport).
Defaults to Forbidden when the tool is unknown or declares nothing. Used to
gate a task-augmented tools/call before creating the task. Shared by the
stdio runtime and the HTTP adapters.