Aller au contenu

create_context_section

Create a project context section. title, type and body are required; languages scopes it (empty = all languages), position orders it (appended at the end when omitted). Prefer several focused sections over one giant blob - it keeps list/search cheap for future agents. Needs a project:settings:write (or mcp:*) key.

NomTypeDescription
project_uuidstringoptionnelProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
titlestringrequisSection title.
typestringrequisSection type (open-set). Known values: overview | writing | qa | constraints | terminology | other. Any other slug is accepted.
languagesarrayoptionnelLanguage codes the section applies to (e.g. ["fr", "en-CA"]). Empty or omitted = applies to ALL languages.
bodystringrequisThe section content (Markdown). This is what search_context_sections matches against.
positionintegeroptionnelOrder among sections (default: appended last).
{
"tool": "create_context_section",
"arguments": {
"title": "<title>",
"type": "<type>",
"body": "<body>"
}
}