Delete references or the profile
delete_profileUse this when the user asks to delete their data. Pass the profile_key and ref_ids to delete only those references, or leave ref_ids out to delete the whole profile: every reference, description and saved rule. Deletion is permanent. Returns how many references were deleted.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profile_key": "tp_604a48a85c9a4da5a2a15ba7b4198f1b"
},
"name": "delete_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref_ids | No | Delete only these references and keep the profile. Leave out to delete the whole profile: every reference, description and saved rule. | |
| profile_key | Yes | The profile_key that add_refs returned. Keep it: it is the only way back to this profile and it is not recoverable. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | UTC date of this answer. | |
| source | Yes | ||
| status | Yes | ||
| deleted | Yes | ||
| refs_deleted | Yes |