record_telemetry_consent
Records the user's consent for anonymous telemetry. Call this after the user answers the opt-in question to persist their choice.
Instructions
Record the user's choice on anonymous telemetry. Call this exactly once, only when the margins_start response had telemetryConsentNeeded=true AND the user has answered the in-chat opt-in question. Pass enabled=true if they said yes, enabled=false if they said no. The choice persists in ~/.margins/consent.json and applies to all future Margins sessions.
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": {
"enabled": "<enabled>"
},
"name": "record_telemetry_consent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | True if the user opted in, false if they declined. |