Skip to main content

CallToolService

Type Alias CallToolService 

Source
pub type CallToolService = BoxCloneSyncService<CallToolRequest, CallToolResponse, YetiError>;
Expand description

Tower-shaped tool-call dispatcher service. Plugins register BoxCloneSyncService::new(service_fn(...)) against this type; yeti-mcp consults the chain per tools/call MCP request and the first service to return Some(value) wins.

Aliased Type§

pub struct CallToolService(/* private fields */);