Projects Export
projects_exportExport a project to the portable format projects_import reads. Chat is opt-in; version 4 uses typed file-local links, with pending actions removed. format: yaml returns the same export as a YAML document (with a suggested filename) for committing to a repository; it imports the same way once parsed.
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": {
"project_id": "<project_id>"
},
"name": "projects_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json (default) returns the export as structured data. yaml returns it as a YAML document, readable in a diff, for committing to a repository. | |
| project_id | Yes | Project UUID (database id). | |
| include_chat_messages | No | Include the project's chat history. Off by default, so a file meant for sharing or a repository carries no transcript. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| format | No | ||
| labels | No | The project's labels, left out when it has none. Each item names those it carries in its `labels` (absent when none), and a requirement whose lifecycle an import set says where from in `lifecycle_source`. Files before schema version 5 had flags on requirements and contracts instead; import reads them as labels. | |
| is_pack | No | True for a pack; imports as a pack. Absent on exports taken before packs. | |
| stories | No | ||
| document | No | The export, rendered as YAML. | |
| filename | No | A suggested file name. | |
| chosen_llm | No | The model the project used. A hint: import uses it when this install offers that model, and its default otherwise. | |
| subsystems | No | ||
| description | No | The project description. Read as design_description in files before schema version 3. | |
| requirements | No | ||
| stakeholders | No | ||
| chat_messages | No | Optional transcript. In version 4, entalpa:<kind>/local/<encoded human_id> links bind only to imported entities of that kind; legacy/unresolved links stay unbound. Pending actions are stripped. Before version 3: messages. | |
| open_questions | No | ||
| schema_version | No | 5 replaces requirement and contract flags with labels; 4 added typed file-local chat references remapped to fresh UUIDs on import. Earlier versions remain readable; ordinary document relationships retain human IDs. | |
| acceptance_style | No | How acceptance criteria are written: free text, gherkin (Given/When/Then, one step per line, scenarios separated by a blank line) or ears (one per line: When <trigger>, the <system> shall <response>). AI actions write new criteria in it and leave existing ones as they are; write content.acceptance in it too. | |
| assessment_score | No | The Spec score, 0 to 100, as the last assessment stored it. | |
| assessment_details | No | The Spec score in words, as the last assessment stored it. | |
| interface_contracts | No | ||
| spec_score_settings | No | How the project weighs its Spec score, where it changed the defaults: {weights: {D2..D7: 0 to 100}, relevance: {ISO 25010 characteristic: {relevance: 0, 1 or 2, reason}}}, as projects_spec_score_settings takes them. Absent: the defaults. | |
| extra_requirement_attributes | No | The requirement attributes this project generates. Absent when the project never chose a list, which is not the same as choosing an empty one: absent shows every content field, [] shows only the core ones. |