Who is signed in
whoamiIdentifies the Leboncoin account your stored profile is signed in as. Returns error code if no session—use session_status for diagnosis.
Instructions
Returns the Leboncoin account the stored profile is signed in as. Throws with a precise code when there is no usable session - use session_status instead if you want a diagnosis rather than a failure.
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": "whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Leboncoin site to use (fr). Defaults to the server's configured site. |