upsert_project_context
Update or create a project's knowledge context by appending and deduplicating facts, conventions, commands, and glossary entries, while overwriting scalar fields. Keeps one record per project ID.
Instructions
v2.1.0 — Merge structured project knowledge into the ProjectContextRecord for projectId. Array fields (facts/conventions/commands/glossary) append + dedup; scalars overwrite. One record per projectId.
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": {
"projectId": "<projectId>"
},
"name": "upsert_project_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facts | No | ||
| commands | No | ||
| glossary | No | ||
| projectId | Yes | Project identifier (unique key). | |
| conventions | No |