Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01G8ikz8xdWuTP5yun8DZ1hk
62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
POST /
|
|
{
|
|
"jsonrpc": "2.0",
|
|
"id": "1",
|
|
"method": "SendMessage",
|
|
"params": {
|
|
"message": {
|
|
"messageId": "m-1",
|
|
"role": "ROLE_USER",
|
|
"parts": [
|
|
{
|
|
"text": "record"
|
|
}
|
|
]
|
|
},
|
|
"configuration": {
|
|
"blocking": true
|
|
}
|
|
}
|
|
}
|
|
|
|
Response:
|
|
{
|
|
"jsonrpc": "2.0",
|
|
"id": 1,
|
|
"result": {
|
|
"task": {
|
|
"id": "<id-1>",
|
|
"contextId": "<id-2>",
|
|
"status": {
|
|
"state": "TASK_STATE_COMPLETED",
|
|
"timestamp": "<time>"
|
|
},
|
|
"artifacts": [
|
|
{
|
|
"artifactId": "definition",
|
|
"name": "definition",
|
|
"description": "",
|
|
"parts": [
|
|
{
|
|
"text": "A record is a final class that is a transparent",
|
|
"metadata": {},
|
|
"filename": "",
|
|
"mediaType": ""
|
|
},
|
|
{
|
|
"text": " carrier for its components.",
|
|
"metadata": {},
|
|
"filename": "",
|
|
"mediaType": ""
|
|
}
|
|
],
|
|
"metadata": {},
|
|
"extensions": []
|
|
}
|
|
],
|
|
"history": [],
|
|
"metadata": {}
|
|
}
|
|
}
|
|
}
|