Demonstrates configuring the Copilot SDK with zero tools and a custom system prompt that reflects the tool-less state. This validates two things:
- Tool removal — Setting
availableTools: []removes all built-in tools (bash, view, edit, grep, glob, etc.) from the agent's capabilities. - Agent awareness — The replaced system prompt tells the agent it has no tools, and the agent's response confirms this.
- Creates a session with
availableTools: []and asystemMessageinreplacemode - Sends: "What tools do you have available? List them."
- Prints the response — which should confirm the agent has no tools
| Option | Value | Effect |
|---|---|---|
availableTools |
[] (empty array) |
Whitelists zero tools — all built-in tools are removed |
systemMessage.mode |
"replace" |
Replaces the default system prompt entirely |
systemMessage.content |
Custom minimal prompt | Tells the agent it has no tools and can only respond with text |
./verify.shRequires the copilot binary (auto-detected or set COPILOT_CLI_PATH) and GITHUB_TOKEN.