Skip to main content

action

Function action 

Source
pub fn action(body: &str) -> Result<String, InvalidRequest>
Expand description

Run one Computer Use action: body is the JSON naming it, the reply the JSON it is answered with, an action that failed included. The backend and the framebuffer dimensions are resolved on every call, since the compositor can start, the stream can resize, or the X server can restart underneath the agent. It checks no token, so what calls it answers for who may.