Convert to Anthropic API tool format.
Map<String, dynamic> toApiMap() => { 'name': name, 'description': description, 'input_schema': inputSchema, };