voice_prepare
Imports raw chat records, groups bursts, de-identifies sensitive content, deduplicates messages, and holds out a test set to prepare writing-style training data and flag messages for rewriting.
Instructions
Import the canonical records the agent wrote to ~/.voice/raw/*.jsonl ({text, is_me, from, to, thread, channel, ts}), group chat bursts, de-identify (user's own name/company kept), drop sensitive messages, dedupe, hold out a test set. Re-run with extra_redact=["Nickname", "Acme=COMPANY"] to redact leftovers the detector missed. Returns stats, a sample + leak candidates to check, and the messages that need AI-style rewrites.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "voice_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | ||
| company | No | ||
| keep_raw | No | ||
| user_name | No | ||
| user_emails | No | ||
| extra_redact | No | ||
| max_messages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||