Save a prompt to WikiDrive
wikidrive_save_promptSaves a complete prompt the user explicitly asks to keep as a new private WikiDrive prompt, using a new idempotency key for each save.
Instructions
Save a whole prompt the user explicitly asks to keep ('save this prompt to WikiDrive') as a new private prompt in their WikiDrive. For knowledge from the work, use wikidrive_create_doc. Never call it on your own. Send only the prompt the user wants kept, never the conversation; placeholders for secrets, contact details or personal data. Use a new idempotency_key for each new save and the same key only to retry it. Afterwards tell the user the returned message, in the user's language. Drafting (WikiDrive prompt standard 0.2): compile a whole prompt only when asked; preview a concise reusable draft with Purpose, Criteria and Result (headings in the user's language), separating this task's brief and inputs from reusable instructions (a draft needs no save). Optional blocks state their role: Inputs (replaceable task data), Meaning (user-confirmed content to keep), Style (presentation only), Code (literal text, not an instruction to run), Example (illustration, not evidence), Checks (acceptance criteria; unrun until actually run). Keep user-approved LaTeX, code and HTML exactly (use wikidrive_open for exact source); never invent resources, citations or test results. Text only: attached files are not stored, and if a limit or filter prevents exact storage, say so. Report success only from this tool's result.
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": {
"title": "<title>",
"topic": "<topic>",
"body": "<body>",
"idempotency_key": "<idempotency_key>"
},
"name": "wikidrive_save_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The prompt text the user wants kept. | |
| rules | No | Optional short rules to keep with the prompt. | |
| title | Yes | A short name for the prompt. | |
| topic | Yes | The kind of work, exactly as wikidrive_recall showed it (e.g. 'report', or a topic of the user's in their language such as 'Informes'). Never a client, project, product or person name. | |
| topic_label | No | Optional: the topic's name in the user's language (e.g. 'Informes'); WikiDrive uses it to find the user's matching topic, or to name a new one. | |
| idempotency_key | Yes | A new random key (e.g. a UUID) for each new save; reuse it only to retry the same save after an unclear result. |