sessionId: {{sessionId}}

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


type: text

text: The


text: user


text: wants


text: me


text: to


text: Read


text: data


text: .txt


text: using


text: the


text: read


text: tool


text: Replace


text: its


text: entire


text: contents


text: with


text: exactly


text: re


text: placed


text: write


text: Reply


text: D


text: ONE


title: Read data.txt

kind: read


status: completed

type: content

text:
<path>{{cwd}}/data.txt</path>
<type>file</type>
<content>
1: original contents

(End of file - total 1 lines)
</content>


text: The


text: file


text: contains


text: original


text: Now


text: I


text: 'll


text: replace


text: it


text: with


text: re


text: placed


title: Write data.txt

kind: edit

type: diff

newText: replaced


oldText: original contents

title: Write data.txt


text: has


text: been


text: replaced


text: successfully


text: just


text: reply


text: D


text: ONE