Update project context
update_project_contextAdds, edits, or deletes a project's shared memory so the app, SAM, and other agents see it. Uses no credits. Use the current project context to find the entries to remove. Send patch ops to clear sections, deleteCustomSection, removeCompetitors, removeKeyPages, or removeResearchLog. Sections are prose (~4,000 chars max), competitors and key pages are curated shortlists (100 max each), and appendResearchLog records research already bought. Report templates are managed separately. Confirm facts with the user before storing them.
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>",
"updates": "<updates>"
},
"name": "update_project_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | Patch ops, applied in order. Clear a standard section with {section: "current_goal", content: ""}; delete a custom section with {deleteCustomSection: "slug"}; removeCompetitors takes domains, removeKeyPages takes URLs, and removeResearchLog takes entry IDs from the project context. Adds upsert by domain/url; research-log entries are date-stamped by the server. An addCompetitors row takes names (the sub-brands and flagship products shoppers name instead of that competitor), and setBrandNames replaces one brand's list (the store's own when no domain is given); an answer that writes a listed name as a name counts as naming that brand. | |
| projectId | Yes | Required. The NameIO project ID to scope this call to. Get one from list_projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| keyPages | Yes | ||
| sections | Yes | ||
| competitors | Yes | ||
| researchLog | Yes | ||
| customSections | Yes | ||
| missingSections | Yes | ||
| reportTemplates | Yes |