# MyClaw runs every tool without asking. Here's how to keep its API calls in bounds.

DevFeed: [MyClaw runs every tool without asking. Here's how to keep its API calls in bounds.](<https://devfeed.tech/articles/myclaw-runs-every-tool-without-asking-here-s-how-to-keep-its-api-calls-in-bounds-96062.md>)

Original publisher: [Read original article](<https://www.swytchcode.com/content/myclaw-runs-every-tool-without-asking-here-s-how-to-keep-its-api-calls-in-bounds>)

Author: Swytchcode Team

Published: 2026-10-21T10:20:09Z

Content type: tutorial

Language: en

Sources: [Swytchcode](<https://devfeed.tech/sources/swytchcode.md>)

Topics: [API Governance](<https://devfeed.tech/topics/api-governance.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [out-of-process](<https://devfeed.tech/topics/out-of-process.md>), [telegram-bot](<https://devfeed.tech/topics/telegram-bot.md>), [mock api](<https://devfeed.tech/topics/mock-api.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [account](<https://devfeed.tech/tags/account.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [all](<https://devfeed.tech/tags/all.md>), [api](<https://devfeed.tech/tags/api.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [call](<https://devfeed.tech/tags/call.md>), [customer](<https://devfeed.tech/tags/customer.md>), [here](<https://devfeed.tech/tags/here.md>), [here-s](<https://devfeed.tech/tags/here-s.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [keep](<https://devfeed.tech/tags/keep.md>), [refunds](<https://devfeed.tech/tags/refunds.md>), [rules](<https://devfeed.tech/tags/rules.md>), [stop](<https://devfeed.tech/tags/stop.md>), [tool](<https://devfeed.tech/tags/tool.md>)

## AI overview

In tests with MyClaw 0.6.2 and a mocked Stripe, all seven checks passed after configuring Swytchcode to require approval for writes and locking down MyClaw's other tools. Run Swytchcode as an HTTP server and use `http+streamable://`; a local command exits after connection, while plain `http://` selects the older SSE transport. The `restrictToWorkspace` setting was not enforced, and `~` in deny rules matched nothing. The tested setup uses full paths, denies Bash, Grep and Glob, blocks file access to Swytchcode credentials and project files, and prevents edits to MyClaw's own settings. The authors recommend testing that protected files are actually inaccessible before connecting a real account. Tests used a scripted model and mocked Stripe; real models, chat channels and approvals remain untested.

## Source excerpt

MyClaw runs every tool without asking, including the API call that refunds a customer. Here's how to add Swytchcode so writes wait for your approval, and the lock-down rules that stop MyClaw from editing its own rules.