Skip to main content

execute_service_action

Function execute_service_action 

Source
pub async fn execute_service_action(
    service: &SomaService,
    action: &SomaAction,
) -> Result<Value>
Expand description

Route a [SomaAction] to the matching SomaService method.

The lower-level dispatch seam without the timing/logging/metrics wrapper; prefer dispatch_action unless the caller already owns a span. Returns an error for MCP-only actions (elicit_name, scaffold_intent) that require a peer.