pub struct ToolSchemaBuildDetail {
pub betas_ms: u64,
pub waits_ms: u64,
pub placement_ms: u64,
pub render_ms: u64,
pub after_ms: u64,
pub other_ms: u64,
pub tools: Option<u64>,
pub new_schemas: Option<u64>,
}Expand description
ResultMessage::tool_schema_build_detail — how the tool_schema_build
phase was spent, in whole ms, in the order the code runs (CLI 2.1.317+).
The six _ms values add up to the phase exactly; each is rounded so a
fraction of a ms carries into the next.
Fields§
§betas_ms: u64Choosing the beta headers, reading what the model supports and the thinking configuration.
waits_ms: u64Waiting for the account’s Artifact capabilities, early schema builds for plugin-movable tools, and deciding whether tool search is on.
placement_ms: u64Deciding which tools the request declares in full, deferred or by reference, with the waits that takes.
render_ms: u64Making the API schema of every declared tool.
after_ms: u64The rest of the phase, such as in-message tool schemas and applying the plan for deferred tools.
other_ms: u64Time no part covers plus what rounding leaves: 0 or 1 unless some stretch of the phase has no mark.
tools: Option<u64>How many tools the render made schemas for (the last build’s).
new_schemas: Option<u64>How much the process’s tool-schema cache grew over the phase: about how many schemas were built from scratch (the last build’s).