Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
toolChoiceSchemas.ts437 B
import z from "zod"; /** * Anthropic's tool choice schema * * @see https://docs.anthropic.com/en/api/messages */ export const anthropicToolChoiceSchema = z.discriminatedUnion("type", [ z.object({ type: z.literal("tool"), name: z.string(), }), z.object({ type: z.literal("auto"), }), z.object({ type: z.literal("any"), }), ]); export type AnthropicToolChoice = z.infer<typeof anthropicToolChoiceSchema>;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/phoenix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server