Skip to content

Conversation

@ashwin-ant
Copy link
Collaborator

Add support for the tools option matching the TypeScript SDK, which controls the base set of available tools separately from allowed/disallowed tool filtering.

Supports three modes:

  • Array of tool names: ["Read", "Edit", "Bash"]
  • Empty array: [] (disables all built-in tools)
  • Preset object: {"type": "preset", "preset": "claude_code"}

🤖 Generated with Claude Code

ashwin-ant and others added 2 commits December 3, 2025 17:47
Add support for the `tools` option matching the TypeScript SDK, which
controls the base set of available tools separately from allowed/disallowed
tool filtering.

Supports three modes:
- Array of tool names: `["Read", "Edit", "Bash"]`
- Empty array: `[]` (disables all built-in tools)
- Preset object: `{"type": "preset", "preset": "claude_code"}`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Demonstrates the three modes of the tools option:
- Array of specific tool names
- Empty array (disables all built-in tools)
- Preset object (all default Claude Code tools)

Also shows how to verify tools in the system init message.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@ashwin-ant ashwin-ant requested a review from a team December 4, 2025 02:31
@ashwin-ant ashwin-ant merged commit ea0ef25 into main Dec 4, 2025
27 checks passed
@ashwin-ant ashwin-ant deleted the ashwin/toolsoption branch December 4, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants