Skip to main content

Module mode

Module mode 

Source
Expand description

Client-level mode (ClientMode) and the ToolSet builder for source-qualified tool filter patterns. Client-level “empty” mode for minimal/safe defaults.

See the plan in https://github.com/github/copilot-agent-runtime/issues/7155: ClientMode::Empty disables ambient CLI-style behavior by default so an app must explicitly opt back into features. This module exposes the public enum, the ToolSet builder for source-qualified tool filter patterns, and the BUILTIN_TOOLS_ISOLATED curated allowlist.

Structs§

ToolSet
Builder that produces source-qualified tool filter strings (e.g. "builtin:bash", "mcp:*", "custom:foo") for the session’s available_tools list.

Enums§

ClientMode
Controls SDK defaults for ambient CLI-style behavior.

Constants§

BUILTIN_TOOLS_ISOLATED
Built-in tools that operate only within the bounds of a single session — no host filesystem access outside the session, no cross-session state, no host environment access, no network.