isolated:true, 127.0.0.1, an ephemeral port, a 30-second startup
timeout, automatic process cleanup, disabled LSP/formatters/title agent,
no setting sources, and question, todowrite, and skill hidden.
Supplying a field replaces its default; settingSources restores selected
discovery and disallowedTools: [] restores the hidden tools. Supplying an
allowedTools list drops the facade deny defaults. Re-enabling question
without a user-input path can hang a headless run. Custom tools run in the
caller process and are model-visible as sdk_<sanitized-name>.
Isolation protects config, credentials, and state discovery. It is not an
operating-system, filesystem, process, tool, or network sandbox.
Example
Extends
Extended by
Properties
agents?
Inherited from
RuntimeConfig.agents
allowedTools?
Inherited from
RuntimeConfig.allowedTools
appendSystemPrompt?
Inherited from
RuntimeConfig.appendSystemPrompt
autoPermissionClassifierModel?
Inherited from
RuntimeConfig.autoPermissionClassifierModel
backgroundTaskPolicy?
mode
Inherited from
RuntimeConfig.backgroundTaskPolicy
baseUrl?
spawn and client.
canUseTool?
Inherited from
RuntimeConfig.canUseTool
checkpointing?
Inherited from
RuntimeConfig.checkpointing
client?
shutdown() never close it.
commands?
Inherited from
RuntimeConfig.commands
compaction?
auto?
includeFiles?
Inherited from
RuntimeConfig.compaction
control?
cwd?
deleteSessionsOnClose?
directory?
cwd; the two must match when both are supplied.
disallowedTools?
Inherited from
RuntimeConfig.disallowedTools
effort?
Inherited from
RuntimeConfig.effort
enableFileCheckpointing?
Inherited from
RuntimeConfig.enableFileCheckpointing
enableToolSearch?
Inherited from
RuntimeConfig.enableToolSearch
headers?
hooks?
Inherited from
RuntimeConfig.hooks
includeEnvironment?
Inherited from
RuntimeConfig.includeEnvironment
instructions?
Inherited from
RuntimeConfig.instructions
maxBudgetUsd?
Inherited from
RuntimeConfig.maxBudgetUsd
maxTurns?
Inherited from
RuntimeConfig.maxTurns
model?
Inherited from
RuntimeConfig.model
outputFormat?
Inherited from
RuntimeConfig.outputFormat
permission?
permissionMode.
permissionMode?
Inherited from
RuntimeConfig.permissionMode
plugins?
Inherited from
RuntimeConfig.plugins
sdkMcpServers?
Inherited from
RuntimeConfig.sdkMcpServers
settingSources?
Inherited from
RuntimeConfig.settingSources
skills?
Inherited from
RuntimeConfig.skills
spawn?
config is merged by
top-level key and, under agent, by agent name; a named agent’s own
object replaces wholesale, so agent: { title: {…} } drops the facade’s
title.disable and restores the per-session title model call. Explicit
false, "", and [] values are preserved.
systemPrompt?
Inherited from
RuntimeConfig.systemPrompt
thinkingConfig?
Inherited from
RuntimeConfig.thinkingConfig
title?
tools?
sdk_<sanitized-name>.
They execute in the caller process rather than the isolated server.