AgentToolCallToEnvironmentContent

@Serializable
data class AgentToolCallToEnvironmentContent(val agentId: String, val toolCallId: String?, val toolName: String, val toolArgs: JsonObject)(source)

Content of tool call messages sent from the agent.

Constructors

Link copied to clipboard
constructor(agentId: String, toolCallId: String?, toolName: String, toolArgs: JsonObject)

Properties

Link copied to clipboard

Identifier for the agent receiving the message.

Link copied to clipboard
val toolArgs: JsonObject

Arguments for the called tool.

Link copied to clipboard

Id to identify tool call when calling multiple tools at once. Not all implementations support it, it will be null in this case.

Link copied to clipboard

Name of the tool to call.