ToolUseContent
data class ToolUseContent(val id: String, val name: String, val input: JsonObject, val meta: JsonObject? = null) : SamplingMessageContent(source)
A request from the assistant to invoke a tool during sampling.
Properties
Link copied to clipboard
Unique identifier for this tool use; matches a subsequent ToolResultContent.toolUseId that reports the result.
Link copied to clipboard
The arguments to pass to the tool, conforming to the tool's input schema.
Link copied to clipboard
property/parameter is reserved by MCP to allow clients and servers to attach additional metadata to their interactions.
Link copied to clipboard
discriminator identifying the content block subtype