Skip to main content

invoke

Function invoke 

Source
pub fn invoke(spec: &PluginToolSpec, args_json: &str) -> Result<String, String>
Expand description

Invoke a plugin tool: the JSON args_json is written to the child’s stdin and stdout is returned as the tool result. Runs sandboxed with the shared subprocess runner (piped stdio + bounded timeout).