invokeTool method
Implementation
Future<Response> invokeTool({
required String toolkit,
required String tool,
required Map<String, dynamic> arguments,
String? participantId,
String? onBehalfOfId,
Uint8List? attachment,
}) async {
return await room.sendRequest("agent.invoke_tool", {
"toolkit": toolkit,
"tool": tool,
"arguments": arguments,
"participant_id": participantId,
"on_behalf_of_id": onBehalfOfId,
}, data: attachment);
}