Skip to content

invalid_arguments

Invalid tool arguments

BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog

Last updated

Code: invalid_arguments · HTTP status: usually 422

An MCP tool call’s arguments do not match the tool’s inputSchema.

Read the tool’s inputSchema from tools/list, fix the arguments and call the tool again.

{
"code": "invalid_arguments",
"type": "https://docs.stoqapp.com/v2/docs/api-v2/errors/invalid-arguments/",
"title": "Invalid tool arguments",
"status": 422,
"detail": "Invalid tool arguments. The arguments do not match the tool's inputSchema (tools/list). Fix them and call the tool again.",
"errors": [
"Invalid tool arguments"
],
"details": [
{
"code": "invalid_arguments",
"message": "Invalid tool arguments",
"path": null,
"value": null,
"expected": null
}
]
}

Every API v2 and MCP failure carries code and a type link to its page here. See Errors & Responses for the full envelope.

Was this page helpful?

Still stuck? Ask Quinn or chat with support