async fn lifecycle(
cx: &ToolCtx<'_>,
action: &str,
args: &Value,
) -> Result<String>Expand description
start, stop, detach, delete and rotate_token: srv acts on the agent in agent as the agent this process’s token
names, and records it under that agent (/api/v1/agent/{start,stop,detach,delete,rotate-token}).