mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
working MCP call tool method
This commit is contained in:
parent
e0cff7595c
commit
a4a083041d
2 changed files with 6 additions and 3 deletions
|
@ -4135,8 +4135,8 @@ export const callMCPTool = async (accessToken: string, toolName: string, toolArg
|
|||
"Content-Type": "application/json",
|
||||
},
|
||||
body: JSON.stringify({
|
||||
tool_name: toolName,
|
||||
tool_arguments: toolArguments,
|
||||
name: toolName,
|
||||
arguments: toolArguments,
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue