# Tool reference

> Every tool the agent can call, generated from the chart's @Tool registry at the pinned commit.

Source: https://kcq.nebutra.com/docs/agent/tools


<Callout>
  Generated from the pinned chart source (

  [`1aa5e22`](https://github.com/TsekaLuk/KLineChartQuant/blob/1aa5e22c61313a34d08878ad895e604e0d4a85e9/packages/core/src/foundation/agent/chartToolRegistry.ts)

  ). Descriptions are the exact text the model receives.
</Callout>

The agent operates the chart through **29 tools**: 18 change the chart, 11 only read. Chart tools are ordinary chart methods annotated with `@Tool`, so the agent and the interface call the same code. A read-only agent session receives only the read-only tools.

At run time the browser registry appends the live `sourceId` and `paneId` values to the descriptions of the market-data, comparison and drawing tools, so the model only picks values that exist.

| Tool                                                                                                       | Label                         | Access             | Group            |
| ---------------------------------------------------------------------------------------------------------- | ----------------------------- | ------------------ | ---------------- |
| [<code>panes\_list</code>](/docs/agent/tools/panes#panes_list)                                             | List panes                    | Read-only          | Panes            |
| [<code>pane\_create</code>](/docs/agent/tools/panes#pane_create)                                           | Create pane                   | Modifies the chart | Panes            |
| [<code>pane\_update</code>](/docs/agent/tools/panes#pane_update)                                           | Update pane                   | Modifies the chart | Panes            |
| [<code>pane\_remove</code>](/docs/agent/tools/panes#pane_remove)                                           | Remove pane                   | Modifies the chart | Panes            |
| [<code>pane\_move</code>](/docs/agent/tools/panes#pane_move)                                               | Move pane                     | Modifies the chart | Panes            |
| [<code>pane\_replace\_content</code>](/docs/agent/tools/panes#pane_replace_content)                        | Replace pane content          | Modifies the chart | Panes            |
| [<code>pane\_update\_content</code>](/docs/agent/tools/panes#pane_update_content)                          | Update pane content           | Modifies the chart | Panes            |
| [<code>panes\_clear</code>](/docs/agent/tools/panes#panes_clear)                                           | Clear panes                   | Modifies the chart | Panes            |
| [<code>drawings\_list</code>](/docs/agent/tools/drawings#drawings_list)                                    | List drawings                 | Read-only          | Drawings         |
| [<code>drawing\_create</code>](/docs/agent/tools/drawings#drawing_create)                                  | Create drawing                | Modifies the chart | Drawings         |
| [<code>drawings\_copy</code>](/docs/agent/tools/drawings#drawings_copy)                                    | Copy drawings                 | Modifies the chart | Drawings         |
| [<code>drawing\_update</code>](/docs/agent/tools/drawings#drawing_update)                                  | Update drawing                | Modifies the chart | Drawings         |
| [<code>drawing\_delete</code>](/docs/agent/tools/drawings#drawing_delete)                                  | Delete drawing                | Modifies the chart | Drawings         |
| [<code>drawings\_clear</code>](/docs/agent/tools/drawings#drawings_clear)                                  | Clear drawings                | Modifies the chart | Drawings         |
| [<code>comparisons\_list</code>](/docs/agent/tools/comparisons#comparisons_list)                           | List comparison symbols       | Read-only          | Comparisons      |
| [<code>comparison\_create</code>](/docs/agent/tools/comparisons#comparison_create)                         | Add comparison symbol         | Modifies the chart | Comparisons      |
| [<code>comparison\_remove</code>](/docs/agent/tools/comparisons#comparison_remove)                         | Remove comparison symbol      | Modifies the chart | Comparisons      |
| [<code>comparisons\_clear</code>](/docs/agent/tools/comparisons#comparisons_clear)                         | Clear comparison symbols      | Modifies the chart | Comparisons      |
| [<code>settings\_get</code>](/docs/agent/tools/settings#settings_get)                                      | Get chart settings            | Read-only          | Settings         |
| [<code>settings\_update</code>](/docs/agent/tools/settings#settings_update)                                | Update chart settings         | Modifies the chart | Settings         |
| [<code>settings\_reset</code>](/docs/agent/tools/settings#settings_reset)                                  | Reset chart settings          | Modifies the chart | Settings         |
| [<code>instruments\_query\_name</code>](/docs/agent/tools/market-data#instruments_query_name)              | Query instrument name         | Read-only          | Market data      |
| [<code>market\_bars\_query</code>](/docs/agent/tools/market-data#market_bars_query)                        | Query market bars             | Read-only          | Market data      |
| [<code>market\_timeshare\_query</code>](/docs/agent/tools/market-data#market_timeshare_query)              | Query market time share       | Read-only          | Market data      |
| [<code>market\_timeshare\_range\_query</code>](/docs/agent/tools/market-data#market_timeshare_range_query) | Query market time-share range | Read-only          | Market data      |
| [<code>indicators\_query</code>](/docs/agent/tools/indicators#indicators_query)                            | Query indicator               | Read-only          | Indicators       |
| [<code>web\_search</code>](/docs/agent/tools/conversation#web_search)                                      | Web search                    | Read-only          | Conversation     |
| [<code>ask\_user</code>](/docs/agent/tools/conversation#ask_user)                                          | Ask question                  | Read-only          | Conversation     |
| [<code>code\_interpreter</code>](/docs/agent/tools/code-interpreter#code_interpreter)                      | Run Python                    | Modifies the chart | Code interpreter |

<Cards>
  <Card title="Panes" href="/docs/agent/tools/panes" description="Create, arrange and fill indicator panes." />

  <Card title="Drawings" href="/docs/agent/tools/drawings" description="Read, create, copy, update and delete drawings on the chart." />

  <Card title="Comparisons" href="/docs/agent/tools/comparisons" description="Overlay other instruments on the main chart." />

  <Card title="Settings" href="/docs/agent/tools/settings" description="Read, change and reset chart settings." />

  <Card title="Market data" href="/docs/agent/tools/market-data" description="Query instruments, bars and time-share data without changing the chart." />

  <Card title="Indicators" href="/docs/agent/tools/indicators" description="Calculate a registered indicator over the loaded data." />

  <Card title="Conversation" href="/docs/agent/tools/conversation" description="Ask the user to choose, and search the web." />

  <Card title="Code interpreter" href="/docs/agent/tools/code-interpreter" description="Run Python in a sandbox. Registered only when the host opts in." />
</Cards>
