execute method
Implementation
@override
Future<ToolCallOutput> execute(ToolContext context, ToolInput input) async {
if (context is! RoomToolContext) {
throw AgentException(
"tool '$toolkitName/$name' requires a room tool context",
);
}
return await context.room.agents.invokeTool(
toolkit: toolkitName,
tool: name,
participantId: participantId,
onBehalfOfId: onBehalfOfId,
input: input,
);
}