Submit chat tool results
POST
CoderSessionTokenheader
Coder-Session-Token<token>chat*stringChat ID
Format
uuidRequest body
application/json- body
results?array<>No Content
The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X POST \ "$CODER_URL/api/v2/chats/{chat}/tool-results" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "results": [ { "is_error": true, "output": [ 0 ], "tool_call_id": "string" } ]}'Example Response204
Empty