fr_accords_get
Fetch a single company agreement by its DILA id (ACCOTEXT…) or numero (T…).
Returns METADATA (who, when, themes, branch…). The body text is NOT in the
local index — it is fetched per act from Légifrance, so ask for it with
include_text=True (or call fr_accords_text, which also paginates long
agreements). Without that, this tool cannot tell you what an agreement
SAYS — and what it says is often the point: theme codes are declarative
and incomplete (cf. fr_accords_search), so a health clause is regularly
found only by reading.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id_or_numero": "<id_or_numero>"
},
"name": "fr_accords_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _org | No | Org (id) de CET APPEL. `oto_list_orgs()`. | |
| _group | No | Équipe (id) de CET APPEL, sous son org parente. | |
| _run_id | No | OBLIGATOIRE à chaque appel dès `run_start` ou `data_claim_next` : sans lui, l'écriture sur une ligne réservée est refusée. Hérité seulement si le serveur tient un run actif — n'y compte pas. | |
| _project | No | Projet (id) de CET APPEL — jeton PRIMAIRE. `oto_project(op='list')`. | |
| _instance | No | Instance de connecteur PRÉCISE (un credential exact). `oto_instance(op='list')`. | |
| id_or_numero | Yes | DILA identifier (ACCOTEXT000…) or deposit number (T…). | |
| include_text | No | also fetch the full text (one Légifrance call). Long agreements come back truncated here — `texte_tronque`=true means use `fr_accords_text(acco_id, offset=…)` to walk the rest. |