End-user identities
identitiesIn a shared project (switch_project), each of your product's end users is an identity (idn_…): their logins for many sites (several accounts a site), signed-in sessions, residential IP and device, kept by pilotfish and never handed out. Run a task as one with browser_task's identity. list (external_user_id or query to find), create (external_user_id: your own user id; country, device_os, email for sign-ups, save_logins: keep sign-ins its tasks type), get (its logins by credential id, masked, signed-in sites, cost so far), update, delete (wipes its logins and sessions; its tasks' costs stay), login_link (a one-time page for the end user to type their own login: pass it to them, never ask for a password in chat), set_default / delete_login (by credential).
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": {
"action": "<action>"
},
"name": "identities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The identity (all but list and create). | |
| No | |||
| label | No | ||
| query | No | ||
| sites | No | login_link: the sites to save logins for. | |
| action | Yes | ||
| account | No | login_link: which account the login is saved as (several on one site). | |
| country | No | ||
| device_os | No | ||
| credential | No | set_default / delete_login. | |
| save_logins | No | ||
| webhook_url | No | login_link: your https endpoint, told (identity.login_saved, signed) as each site's login is saved. | |
| external_user_id | No |