# Indicators

> Calculate a registered indicator over the loaded data.

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


<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>

indicators_query [#indicators_query]

<ToolMeta label="Query indicator" safety="read-only" safetyLabel="Read-only" mode="Runs in parallel" origin="Chart core" source="https://github.com/TsekaLuk/KLineChartQuant/blob/1aa5e22c61313a34d08878ad895e604e0d4a85e9/packages/core/src/features/agent/impl/chartAgentController.ts#L628" sourceLabel="Source" />

Calculate a registered chart indicator over all active K-line data and return compact text. Use definitionId, optional numeric calculation params, and a bounded result limit.

**Parameters**

| Name                      | Type                 | Required | Constraints                           | Description |
| ------------------------- | -------------------- | -------- | ------------------------------------- | ----------- |
| <code>definitionId</code> | <code>string</code>  | Yes      | min length <code>1</code>             |             |
| <code>params</code>       | <code>record</code>  | —        | —                                     |             |
| <code>limit</code>        | <code>integer</code> | —        | ≥ <code>1</code>; ≤ <code>2000</code> |             |

**Minimal input** · Required fields only; placeholders are derived from the schema.

```json
{
  "definitionId": "<definitionId>"
}
```

<ToolSchema name="indicators_query" label="JSON Schema" />
