use incurs::command::{McpAnnotations, McpCommandOptions};
pub fn read_only() -> McpCommandOptions {
McpCommandOptions {
annotations: Some(McpAnnotations {
read_only_hint: Some(true),
idempotent_hint: Some(true),
open_world_hint: Some(false),
..McpAnnotations::default()
}),
..McpCommandOptions::default()
}
}
pub fn records() -> McpCommandOptions {
McpCommandOptions {
annotations: Some(McpAnnotations {
read_only_hint: Some(false),
destructive_hint: Some(false),
idempotent_hint: Some(true),
open_world_hint: Some(false),
..McpAnnotations::default()
}),
..McpCommandOptions::default()
}
}
pub fn writes_files() -> McpCommandOptions {
McpCommandOptions {
destructive: true,
annotations: Some(McpAnnotations {
read_only_hint: Some(false),
destructive_hint: Some(true),
idempotent_hint: Some(true),
open_world_hint: Some(false),
..McpAnnotations::default()
}),
..McpCommandOptions::default()
}
}