> ## Documentation Index
> Fetch the complete documentation index at: https://dsrs.herumbshandilya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# dsrs_tools

> # dsrs-tools: sandboxed tool execution for DSRs

<Note>
  Generated from rustdoc JSON at `dsrs-tools v0.1.0` (commit `b5da857`). Do not edit by hand; regenerate with `python3 docs/scripts/gen_api.py` (see the script header for the rustdoc commands). Item links lead to full signatures and method docs on docs.rs.
</Note>

# dsrs-tools: sandboxed tool execution for DSRs

## Re-exports

| Item                                                                                                                | Description                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| [`CacheStats`](https://docs.rs/dsrs-tools/latest/dsrs_tools/quickjs/struct.CacheStats.html)                         | Re-export of `quickjs::CacheStats`.                                                                                                      |
| [`Capability`](https://docs.rs/dsrs-tools/latest/dsrs_tools/capability/struct.Capability.html)                      | Re-export of `capability::Capability`.                                                                                                   |
| [`CapabilityHandler`](https://docs.rs/dsrs-tools/latest/dsrs_tools/capability/type.CapabilityHandler.html)          | Re-export of `capability::CapabilityHandler`.                                                                                            |
| [`code_mode_description`](https://docs.rs/dsrs-tools/latest/dsrs_tools/code_mode/fn.code_mode_description.html)     | Re-export of `code_mode::code_mode_description`.                                                                                         |
| [`CodeModeTool`](https://docs.rs/dsrs-tools/latest/dsrs_tools/code_mode/struct.CodeModeTool.html)                   | Re-export of `code_mode::CodeModeTool`.                                                                                                  |
| [`ExecError`](https://docs.rs/dsrs-tools/latest/dsrs_tools/error/enum.ExecError.html)                               | Re-export of `error::ExecError`.                                                                                                         |
| [`Executor`](https://docs.rs/dsrs-tools/latest/dsrs_tools/executor/trait.Executor.html)                             | Re-export of `executor::Executor`.                                                                                                       |
| [`js_identifier`](https://docs.rs/dsrs-tools/latest/dsrs_tools/capability/fn.js_identifier.html)                    | Re-export of `capability::js_identifier`.                                                                                                |
| [`QuickJsExecutor`](https://docs.rs/dsrs-tools/latest/dsrs_tools/quickjs/struct.QuickJsExecutor.html)               | Re-export of `quickjs::QuickJsExecutor`.                                                                                                 |
| [`QuickJsExecutorBuilder`](https://docs.rs/dsrs-tools/latest/dsrs_tools/quickjs/struct.QuickJsExecutorBuilder.html) | Re-export of `quickjs::QuickJsExecutorBuilder`.                                                                                          |
| [`RegisteredTool`](https://docs.rs/dsrs-tools/latest/dsrs_tools/executor/struct.RegisteredTool.html)                | Re-export of `executor::RegisteredTool`.                                                                                                 |
| [`RegisterError`](https://docs.rs/dsrs-tools/latest/dsrs_tools/error/enum.RegisterError.html)                       | Re-export of `error::RegisterError`.                                                                                                     |
| [`RigToolError`](https://docs.rs/dsrs-tools/latest/rig/tool/enum.ToolError.html)                                    | Re-export of the rig tool traits that sandbox tools plug into, so downstream users don't need a direct (version-matched) rig dependency. |
| [`run_js_parameters`](https://docs.rs/dsrs-tools/latest/dsrs_tools/code_mode/fn.run_js_parameters.html)             | Re-export of `code_mode::run_js_parameters`.                                                                                             |
| [`RUN_JS_TOOL_NAME`](https://docs.rs/dsrs-tools/latest/dsrs_tools/code_mode/constant.RUN_JS_TOOL_NAME.html)         | Re-export of `code_mode::RUN_JS_TOOL_NAME`.                                                                                              |
| [`run_script`](https://docs.rs/dsrs-tools/latest/dsrs_tools/quickjs/fn.run_script.html)                             | Re-export of `quickjs::run_script`.                                                                                                      |
| [`SandboxConfig`](https://docs.rs/dsrs-tools/latest/dsrs_tools/quickjs/struct.SandboxConfig.html)                   | Re-export of `quickjs::SandboxConfig`.                                                                                                   |
| [`SandboxTool`](https://docs.rs/dsrs-tools/latest/dsrs_tools/rig_tool/struct.SandboxTool.html)                      | Re-export of `rig_tool::SandboxTool`.                                                                                                    |
| [`ToolApi`](https://docs.rs/dsrs-tools/latest/dsrs_tools/code_mode/struct.ToolApi.html)                             | Re-export of `code_mode::ToolApi`.                                                                                                       |
| [`ToolDyn`](https://docs.rs/dsrs-tools/latest/rig/tool/trait.ToolDyn.html)                                          | Re-export of the rig tool traits that sandbox tools plug into, so downstream users don't need a direct (version-matched) rig dependency. |
| [`ToolInvocation`](https://docs.rs/dsrs-tools/latest/dsrs_tools/executor/struct.ToolInvocation.html)                | Re-export of `executor::ToolInvocation`.                                                                                                 |
| [`ToolSource`](https://docs.rs/dsrs-tools/latest/dsrs_tools/source/struct.ToolSource.html)                          | Re-export of `source::ToolSource`.                                                                                                       |
