Aller au contenu

search_context_sections

Search the project context sections - substring match on title + body (case-insensitive). Each item is LIGHT ({uuid, title, type, languages, position}) plus a snippet showing the match, so you find the relevant section without reading the whole context. Optional type / language filters narrow the search. Returns {items, total}. READ-ONLY, 0 credits.

NomTypeDescription
project_uuidstringoptionnelProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
qstringrequisSubstring to search for in section title + body.
typestringoptionnelSection type (open-set). Known values: overview | writing | qa | constraints | terminology | other. Any other slug is accepted.
languagestringoptionnelRestrict to sections applying to this language code (or global sections).
{
"tool": "search_context_sections",
"arguments": {
"q": "<q>"
}
}