Merge b57101b80d607008aa21d6fab4ee844433307c27 into 598f1826d8b2bc969aace2c6459824737667218c
This commit is contained in:
commit
5b896b3827
@ -204,7 +204,15 @@ export function createExecTool(
|
||||
label: "exec",
|
||||
description:
|
||||
"Execute shell commands with background continuation. Use yieldMs/background to continue later via process tool. Use pty=true for TTY-required commands (terminal UIs, coding agents).",
|
||||
parameters: execSchema,
|
||||
parameters: Type.Object({
|
||||
...execSchema.properties,
|
||||
host: Type.Optional(
|
||||
Type.String({
|
||||
description: "Exec host (sandbox|gateway|node).",
|
||||
default: defaults?.host ?? "sandbox",
|
||||
}),
|
||||
),
|
||||
}),
|
||||
execute: async (_toolCallId, args, signal, onUpdate) => {
|
||||
const params = args as {
|
||||
command: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user