Abort the currently running spawn, if any.
Spawn a subprocess with the given task prompt.
Full task prompt for the subprocess.
Optionaloptions: MetaSpawnOptionsOptional model and timeout overrides.
The subprocess result with output and optional token count.
MetaExecutor that spawns OpenClaw sessions via the gateway's
/tools/invokeendpoint.Used by both the OpenClaw plugin (in-process tool calls) and the runner/CLI (external invocation). Constructs from
gatewayUrland optionalapiKey— typically sourced fromMetaConfig.