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

# Tool catalogue

> The Locus MCP tools, their arguments, and when an agent should use each.

The descriptions below are the **agent-facing contract** — they steer routing.
All tools require a valid `lsk_…` bearer and return `content` + `structuredContent`.

## Routing at a glance

| If the agent needs…                        | Tool                                   |
| ------------------------------------------ | -------------------------------------- |
| structured sources for a query             | `search`                               |
| a concise cited answer                     | `answer`                               |
| an answer accounting for a patient profile | `context`                              |
| an antibiotic decision                     | `atb` *(roadmap — not yet available)*  |
| a medication datum                         | `drug` *(roadmap — not yet available)* |

***

## search

Structured, citable retrieval — never a free-form answer.

| Argument              | Type   | Notes                             |
| --------------------- | ------ | --------------------------------- |
| `query`               | string | Clinical query (French).          |
| `source_ids`          | int\[] | Optional source allow-list.       |
| `limit`               | int    | Max document units (default 10).  |
| `max_chunks_per_unit` | int    | Best chunks per unit (default 3). |

## answer

Concise answer grounded only in the knowledge base, with citations.

| Argument     | Type   | Notes                       |
| ------------ | ------ | --------------------------- |
| `query`      | string | Clinical question (French). |
| `source_ids` | int\[] | Optional source allow-list. |

## context

Like `answer`, accounting for a coarse patient profile and surfacing conflicts.

| Argument          | Type   | Notes                                                                    |
| ----------------- | ------ | ------------------------------------------------------------------------ |
| `query`           | string | Clinical question (French).                                              |
| `patient_context` | object | `{ sex, age, history, active_problems, allergies, current_treatments }`. |
| `source_ids`      | int\[] | Optional source allow-list.                                              |

***

## Roadmap tools

<Note>
  `atb` and `drug` are **not yet registered** on the MCP server. Their intended
  shape is documented under [Roadmap](/en/roadmap/atb) so integrators can plan; they
  will appear in `tools/list` only once shipped.
</Note>
