use schemars::JsonSchema;
use serde::Deserialize;
#[derive(Debug, Deserialize, JsonSchema)]
pub struct CreateAgentInput {
pub name: String,
#[serde(default)]
pub description: Option<String>,
#[serde(default)]
pub capabilities: Option<String>,
#[serde(default)]
pub network: Option<String>,
#[serde(default = "default_true")]
pub activate: bool,
}
fn default_true() -> bool {
true
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct SwitchAgentInput {
pub name: String,
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct ListAgentsInput {}