execute abstract method

Future<Map<String, dynamic>> execute(
  1. AiToolContext context
)

Executes the tool call for the supplied context.

Return a JSON-like map that can be stored in run state and persisted. Throw an exception to fail the current run.

Implementation

Future<Map<String, dynamic>> execute(AiToolContext context);