Resolve a title to a Leginova document
leginova_suggestAutocomplete legal document titles from partial French names to return IDs and slugs, helping you find known documents without a full search.
Instructions
Autocomplete over titles: turns a partial name ("code du travail", "loi du pays 2021-2", "télétravail") into documents with their ids and slugs. Cheaper than a search when the target is known by name.
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": {
"query": "<query>"
},
"name": "leginova_suggest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Partial title in French | |
| scope | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suggestions | Yes |