pub async fn execute_capability_call( state: &AppState, name: &str, payload: Value, ) -> Result<Value, (StatusCode, Value)>