Set Entry
set-entryCreate or update a project entry for a concrete fact, with kind, title, summary, and optional module link.
Instructions
Entries need vertical structure: create modules via set-project-architecture / set-module-details before or when adding entries. Set refs.moduleName to an existing module name from list-modules. Run validate after edits to find entries-without-modules, entry-unlinked, or empty slices. Creates or updates one canonical project fact (entry). Use when you discovered a concrete fact while working. Do not use for module structure—use set-module-details. Do not copy module.description into summary; link via refs.moduleName only. Upsert: pass id to update, or omit id to match by kind+title or create new. Example: kind=http-endpoint, title='POST /orders', summary='Creates order', refs.moduleName='orders', refs.files=['src/OrderController.java'].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project id from list-projects if workspace path may differ; defaults to MCP_PROJECT_ID | |
| id | No | Entry uuid; omit to upsert by kind+title or create new | |
| kind | Yes | Free-form type: http-endpoint, glossary, entity, flow, script, godot-scene, etc. Builtin slice list-slices shows recommended kinds per sliceId | |
| title | Yes | Short unique label for search, e.g. 'POST /orders' or 'Order' | |
| summary | Yes | 1-2 sentences; not a module essay—only this fact | |
| payload | No | Kind-specific extra fields only, e.g. method/path for APIs, steps for flow | |
| refs | No | ||
| tags | No | Optional labels for get-slice query filtering |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entryId | Yes | ||
| message | Yes | ||
| reminder | No | ||
| warning | No | ||
| suggestedModuleNames | No |