@arizeai/phoenix-mcp 2.2.5 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,13 +33,13 @@ async function createRunLLMClient() {
33
33
  /**
34
34
  * Calls the chat tool on the RunLLM MCP server
35
35
  */
36
- export async function callRunLLMChat({ question, }) {
36
+ export async function callRunLLMQuery({ query, }) {
37
37
  const client = await createRunLLMClient();
38
38
  // Call the chat tool with the user's question
39
39
  const result = await client.callTool({
40
- name: "chat",
40
+ name: "search",
41
41
  arguments: {
42
- message: question,
42
+ query: query,
43
43
  },
44
44
  });
45
45
  // There's usually only one content item, but we'll handle multiple for safety
@@ -56,11 +56,11 @@ export async function callRunLLMChat({ question, }) {
56
56
  }
57
57
  export const initializeSupportTools = async ({ server, }) => {
58
58
  server.tool("phoenix-support", PHOENIX_SUPPORT_DESCRIPTION, {
59
- question: z
59
+ query: z
60
60
  .string()
61
61
  .describe("Your question about Arize Phoenix, OpenInference, or related topics"),
62
- }, async ({ question }) => {
63
- const result = await callRunLLMChat({ question });
62
+ }, async ({ query }) => {
63
+ const result = await callRunLLMQuery({ query });
64
64
  return {
65
65
  content: [
66
66
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arizeai/phoenix-mcp",
3
- "version": "2.2.5",
3
+ "version": "2.2.7",
4
4
  "description": "A MCP server for Arize Phoenix",
5
5
  "bin": {
6
6
  "@arizeai/phoenix-mcp": "./build/index.js"
@@ -20,7 +20,7 @@
20
20
  "glob": "^11.0.1",
21
21
  "minimist": "^1.2.8",
22
22
  "zod": "^3.24.2",
23
- "@arizeai/phoenix-client": "2.3.4"
23
+ "@arizeai/phoenix-client": "2.3.5"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/glob": "^8.1.0",