save_intent
Persist user prompts as intents for programmatic seeding, with automatic deduplication within a session.
Instructions
Persist one user prompt into the intents table (same source as the UserPromptSubmit hook). Use when programmatically seeding intents — the hook covers normal interactive usage. Dedupes same prompt within 5 min per session.
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": {
"prompt": "<prompt>"
},
"name": "save_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | User prompt text as submitted | |
| project | No | Project slug | |
| session_id | No | Session id (defaults to current MCP session) |