pub mod empty_response;
pub mod initialize_result;
pub mod prompts_get_result;
pub mod prompts_list;
pub mod resource_templates_list;
pub mod resources_list;
pub mod resources_read;
pub mod tool_call_result;
pub mod tools_list;

use serde::Deserialize;
use serde::Serialize;

use crate::mcp::jsonrpc::id::Id;

#[derive(Debug, Deserialize, Serialize)]
#[serde(deny_unknown_fields)]
pub struct Success<TResult> {
    pub id: Id,
    pub jsonrpc: String,
    pub result: TResult,
}
