mem_save_prompt
Store user prompts in a session, returning a truncated preview and sync ID to chain related saves for persistent context.
Instructions
Save a user prompt in an existing session. The prompt comes back as a 400-character preview marked content_truncated; keep the sync_id to link a later save to it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Original user prompt text. | |
| project | No | Project associated with the prompt. Accepted only when backed by known context or an ambiguous-project recovery. | |
| session_id | No | Session identifier. Defaults to manual-save-{project}. | |
| recovery_token | No | Short-lived token returned by an ambiguous_project error. Required with project_choice_reason. | |
| project_choice_reason | No | Must be user_selected_after_ambiguous_project, and only after the user picked one of available_projects from an ambiguous_project error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| project | No | ||
| project_path | No | Where the project lives, when the answer came from a directory. | |
| project_source | No |