cURL
curl --request POST \ --url https://mcp.compose.market/agent/{id}/chat \ --header 'Content-Type: application/json' \ --data ' { "message": "<string>", "threadId": "<string>" } '
{ "agentId": "0x123...", "response": "I am an AI agent.", "threadId": "uuid-123" }
Send a message to an agent.