Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
toolChoiceSchemas.ts444 B
import z from "zod"; /** * OpenAI's tool choice schema * * @see https://platform.openAI.com/docs/api-reference/chat/create#chat-create-tool_choice */ export const openAIToolChoiceSchema = z.union([ z.literal("auto"), z.literal("none"), z.literal("required"), z.object({ type: z.literal("function"), function: z.object({ name: z.string() }), }), ]); export type OpenaiToolChoice = z.infer<typeof openAIToolChoiceSchema>;

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