Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
toolChoiceSchemas.ts628 B
import z from "zod"; import { schemaMatches } from "../../../utils/schemaMatches"; import { PromptToolChoice } from "../../../types/prompts"; /** * Phoenix's tool choice schema */ export const phoenixToolChoiceSchema = schemaMatches<PromptToolChoice>()( z.union([ z.object({ type: z.literal("none"), }), z.object({ type: z.literal("zero_or_more"), }), z.object({ type: z.literal("one_or_more"), }), z.object({ type: z.literal("specific_function"), function_name: z.string(), }), ]) ); export type PhoenixToolChoice = z.infer<typeof phoenixToolChoiceSchema>;

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