Skip to main content

reply_to_agent_request

Function reply_to_agent_request 

Source
fn reply_to_agent_request(json: &Value) -> Option<Value>
Expand description

The reply to a request the agent sends us, if json is one (it has both method and id). AgentMux approves tool use by default, as it does for every harness: the first allow_always option, else allow_once, else cancelled. Anything else (fs/*, terminal/*, which this client does not offer) gets “method not found”, so the agent never waits on us.