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
API v2
stoqapp.comAbout STOQContactPrivacy policyHelp center
Invalid tool arguments
Section titled “Invalid tool arguments”Code: invalid_arguments · HTTP status: usually 422
An MCP tool call’s arguments do not match the tool’s inputSchema.
How to fix
Section titled “How to fix”Read the tool’s inputSchema from tools/list, fix the arguments and call the tool again.
Example response
Section titled “Example response”{ "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?
Thanks for letting us know.
Still stuck? Ask Quinn or chat with support