use rmcp::schemars;
use serde::Deserialize;
#[derive(Debug, Deserialize, schemars::JsonSchema)]
pub struct ControlParams {
pub tag: String,
pub key: String,
}
#[derive(Debug, Deserialize, schemars::JsonSchema)]
pub struct SendKeysParams {
pub tag: String,
pub keys: Vec<String>,
}
#[derive(Debug, Deserialize, schemars::JsonSchema)]
pub struct MoveCursorParams {
pub tag: String,
pub row: u16,
pub col: u16,
}
#[derive(Debug, Deserialize, schemars::JsonSchema)]
pub struct ResizeParams {
pub tag: String,
pub cols: u16,
pub rows: u16,
}
#[derive(Debug, Deserialize, schemars::JsonSchema)]
pub struct SnapshotParams {
pub tag: String,
pub wait_ms: Option<u64>,
}