sessionId: {{sessionId}}

currentModeId: default

Model

description: Sets this session's provider and model.

category: model

type: select

Permissions

description: The session permission preset: each choice bundles a sandbox mode and an approval policy.

category: mode

currentValue: danger-full-access

workspace-write

value: workspace-write

description: Write inside the workspace and permitted temporary directories; wider retries require approval.

danger-full-access

value: danger-full-access

description: Full file access without approval prompts.


method: session/update

goal

description: set or view the goal for a long-running task

plan

description: Enter or leave plan mode


title: Call the run_code tool (NOT

updatedAt: {{updatedAt}}


type: text

text: The


text: user


text: wants


text: me


text: to


text: use


text: the


text: run


text: tool


text: execute


text: a


text: program


text: that


text: calls


text: tools


text: .b


text: ash


text: with


text: command


text: echo


text: B


text: OTH


text: and


text: returns


text: its


text: output


title:
const result = await tools.bash({ command: "echo BOTH_OK", description: "Echo BOTH_OK" });
return result.stdout.text;

kind: execute


status: completed

type: content


text: The


text: is


text: I


text: need


text: to


text: reply


text: with


text: that


text: only


text: B


text: OTH