Skip to content

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.

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