callToolAsTask method
Future<Task>
callToolAsTask(
- String name,
- Map<
String, dynamic> toolArguments, { - int? ttl,
- Map<
String, dynamic> ? meta, - RequestOptions? options,
override
Call name as a 2025-11-25 task: the answer is the task, the result
comes from taskResult. Only where the server accepts tool tasks and
the tool allows them (tools/list is read when the tool is unknown).
Implementation
@override
Future<Task> callToolAsTask(
String name,
Map<String, dynamic> toolArguments, {
int? ttl,
Map<String, dynamic>? meta,
RequestOptions? options,
}) => inner.callToolAsTask(
name,
toolArguments,
ttl: ttl,
meta: meta,
options: options,
);