Api referenceCopilotApiCopilotExecute copilot server tool
POST /api/copilot/execute-copilot-server-tool
Authorization
sessionAuth better-auth.session_token<token>
Better Auth session cookie
In: cookie
Request Body
application/json
toolName*string
payload?object
modeId?string
chatId?string
workflowId?string
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://app.nuxa.ai/api/copilot/execute-copilot-server-tool" \ -H "Content-Type: application/json" \ -d '{ "toolName": "string" }'{}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}