Skip to content

Tool System EN

zhenhun edited this page Sep 4, 2026 · 1 revision

中文 | English

Three Kinds of Tools

Category Source Example
Built-in system tools Bundled with BIT shell, read/write/edit, memory, skills, etc.
AI-created tools Scripts registered by the AI through a built-in tool "Wrap this piece of code into a tool"
MCP tools External MCP servers See MCP Integration

AI-Created Tools

The AI can:

  1. Run a script directly: write a script that talks to BIT and run it immediately
  2. Persist it as a permanent tool: register the script as a tool so it can be called repeatedly afterwards
  3. Overwrite its own tools: replace tools it created earlier under the same name

Limit: system tools and remote tools cannot be overwritten; duplicate names raise an error.

Tool registration, updates, deletion, and MCP integration take effect immediately (hot reload via the tools-updated event)—no app restart required.

Approval Mechanism

  • Tool calls that require approval pop up a confirmation card showing the tool name and arguments
  • Automatic rejection after 120 seconds without a response
  • Clicking "Stop" while waiting cancels immediately
  • Both approval requests and their results are recorded in the Audit Log

Concurrency and Fault Tolerance

  • Multiple tool calls in one turn execute concurrently, up to 16
  • Results are fed back to the model in call order (the same order in which they were initiated)
  • If a tool is unavailable or execution is interrupted, the error message is returned to the model instead of being silently dropped

Shell Tool Parameters

  • Timeout: 600 seconds
  • Output truncation limit: 60,000 characters
  • Interrupting a session also terminates the shell process

Manual Invocation

On the Tools page you can manually invoke any tool, enable/disable it, or delete it—handy for debugging script tools created by the AI.

Clone this wiki locally