Skip to main content

call_logged

Function call_logged 

Source
pub async fn call_logged(
    st: &AppState,
    me: &Actor,
    name: &str,
    args: &Value,
    log: &AccessCtx,
) -> Value
Expand description

call on behalf of a real user, with the read log of need-to-know groups (services::access_log::record_tool_read): a successful read tool that named an item of a group that logs reads leaves an entry with the channel of log (MCP client or assistant). A read that cannot be logged is not handed out, like a download.

Calls made only to compare results (the assistant’s outsider check) use call and log nothing.