Skip to main content

muse_code_sdk/msp/view/
tool_label.rs

1// @generated from the MSP stable schema and protocol sources; do not edit by hand.
2
3use serde::Deserialize;
4use serde::Serialize;
5
6/// `toolCall.displayLabel`: the call's words in three forms, each one line of
7/// plain text, always present together. The item's `status` picks the form.
8#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
9#[serde(rename_all = "camelCase")]
10#[non_exhaustive]
11pub struct ToolDisplayLabel {
12    /// Shown while the call runs (`inProgress`), e.g. "Setting up Computer Use".
13    pub active: String,
14    /// Shown after the call succeeds (`completed`), e.g. "Set up Computer Use".
15    pub done: String,
16    /// Shown for every other status (failed, rejected, timed out, cancelled),
17    /// beside that status; never implies success.
18    pub neutral: String,
19}