II.
ToolDescriptor overview
Reference · livetool-descriptor:edit
Edit overview
Make exact string replacements within an existing file. Standard tool across coding agents (Claude Code Edit, Codex apply_patch, Cursor edit, etc.).
Attributes
schema
{}
displayName
Edit
description
Make exact string replacements within an existing file. Standard
tool across coding agents (Claude Code Edit, Codex apply_patch,
Cursor edit, etc.).
inputSchema
type
object
required
- file_path
- old_string
- new_string
properties
file_path
type
string
description
Absolute path to the file to edit
old_string
type
string
description
Exact string to replace
new_string
type
string
description
Replacement string
replace_all
type
boolean
description
Replace all occurrences (default false)
outputSchema
type
object
properties
success
type
boolean
mode
normal
streamable
false
Outgoing edges
denied_by_reason2
- permission-denial-reason:claude-code-plan-mode-write-blocked·PermissionDenialReasonPlan mode: write blocked
- permission-denial-reason:claude-code-classifier-blocked·PermissionDenialReasonClassifier: tool call blocked
Incoming edges
bundles14
- agent-runtime-impl:a5c.runtime@current·AgentRuntimeImpla5c Unified Runtime (current) — unified tool host
- agent-runtime-impl:agent-platform.runtime@current·AgentRuntimeImplagent-platform Runtime (current) — SDK runtime + daemon
- agent-runtime-impl:antigravity-cli.runtime@current·AgentRuntimeImplAntigravity CLI Runtime (current)
- agent-runtime-impl:babysitter.runtime@current·AgentRuntimeImplbabysitter Runtime (current) — task-effect dispatcher + harness adapters
- agent-runtime-impl:babysitter-sdk.runtime@current·AgentRuntimeImplbabysitter SDK Runtime (current) — task-effect dispatcher
- agent-runtime-impl:claude-code.runtime@1.x·AgentRuntimeImplClaude Code Runtime (1.x)
- agent-runtime-impl:cursor.runtime@current·AgentRuntimeImplCursor Runtime (current)
- agent-runtime-impl:gemini-cli.runtime@current·AgentRuntimeImplGemini CLI Runtime (current)
- agent-runtime-impl:genty.runtime@current·AgentRuntimeImplgenty Runtime (current) — composed agent-runtime + SDK runtime
- agent-runtime-impl:hermes.runtime@current·AgentRuntimeImplHermes Runtime (current)
- agent-runtime-impl:omp.runtime@current·AgentRuntimeImplOMP Runtime (current)
- agent-runtime-impl:openclaw.runtime@current·AgentRuntimeImplOpenClaw Runtime (current)
- agent-runtime-impl:opencode.runtime@1.x·AgentRuntimeImplOpenCode Runtime (1.x)
- agent-runtime-impl:pi.runtime@current·AgentRuntimeImplPi Runtime (current)
dispatch_policy_for_tool1
- tool-dispatch-policy:claude-code-file-edit·ToolDispatchPolicyFileEdit dispatch policy