Skip to main content
POST
Handle Agent RPC by Name

Path Parameters

agent_name
string
required

Body

application/json
method
enum<string>
required
Available options:
event/send,
task/create,
message/send,
task/cancel
params
CreateTaskRequest · object
required

The parameters for the agent RPC request

jsonrpc
string
default:2.0
Allowed value: "2.0"
id

Response

Successful Response

result
TaskMessage · object
required

Represents a message in the agent system.

This entity is used to store messages in MongoDB, with each message associated with a specific task.

jsonrpc
string
default:2.0
Allowed value: "2.0"
error
unknown
id