mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 12:56:01 -06:00
fix(workboard): grant dispatch workers required tools
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
/** Owner-scoped additive plugin tools for one trusted agent run. */
|
||||
export type RuntimePluginToolGrant = {
|
||||
pluginId: string;
|
||||
toolNames: readonly string[];
|
||||
};
|
||||
@@ -15,6 +15,8 @@ type PluginRuntimeChannel = import("./types-channel.js").PluginRuntimeChannel;
|
||||
export type SubagentRunParams = {
|
||||
sessionKey: string;
|
||||
message: string;
|
||||
/** Add exact tools registered by the calling plugin to the worker's normal tool surface. */
|
||||
toolsAlsoAllow?: string[];
|
||||
provider?: string;
|
||||
model?: string;
|
||||
extraSystemPrompt?: string;
|
||||
|
||||
Reference in New Issue
Block a user