OptionalconfigOpenClaw configuration object.
Optionalagents?: { defaults?: { workspace?: string } }Agent configuration block.
Optionaldefaults?: { workspace?: string }Default agent settings.
Optionalworkspace?: stringAbsolute path to the workspace root directory.
Optionalplugins?: { entries?: Record<string, { config?: Record<string, unknown> }> }Installed plugin configuration.
OptionallifecyclePlugin-owned lifecycle: disposal signal and cleanup registration. Present on OpenClaw 2026.9.x.
OptionalloggerHost logger, when provided.
Log a warning.
OptionalpluginPlugin-scoped config (plugins.entries.<id>.config), when provided.
OptionalresolveResolve a path relative to the OpenClaw workspace.
OptionalonRegister a typed hook handler. Jeeves only uses before_prompt_build
(see registerPromptContext).
Hook name.
Hook handler.
Optionalopts: HookRegistrationOptions
Registration options.
Register a tool with the OpenClaw gateway.
Tool descriptor.
Optionaloptions: ToolRegistrationOptions
Registration options.
Canonical OpenClaw plugin API interface.
Remarks
This is the shape of the
apiobject passed to plugins by the OpenClaw gateway at registration time. Fields are optional where the gateway may not provide them in all versions.