// @generated by tool/gen/fn/generate.py; DO NOT EDIT.
// schema=net_types.json schema_version=1 generator_version=64
// schema_sha256=493e1b6ece355249c700568dae8b1f1abf037f96905575a7cde1b6acd86620f8
usesuper::mcp::McpCacheScope;#[derive(Clone, Debug)]pubstructMcpServerConfig{/// Server name reported during initialization and discovery.
pubname: String,
/// Server version string.
pubversion: String,
/// Optional human-readable instructions for the model.
pubinstructions: String,
/// Maximum accepted and emitted message size in bytes (minimum 1024).
pubmax_message_bytes:usize,
/// Maximum JSON nesting depth accepted during parsing (1–256).
pubmax_nesting_depth:u32,
/// Maximum JSON node count accepted during parsing (minimum 1).
pubmax_json_nodes:u32,
/// Cache TTL in milliseconds for discovery/list responses.
pubcache_ttl_ms:u32,
/// Cache scope for discovery/list responses.
pubcache_scope: McpCacheScope,
}#[derive(Clone, Debug, Default)]pubstructMcpToolResult{/// Human-readable or machine-readable text content.
pubtext: String,
/// Optional structured JSON content (must be one valid JSON value when set).
pubstructured_content_json: String,
/// Whether this represents an error condition.
pubis_error:bool,
}