Who am I
whoamiReturn who you are acting for and what you may do. id is this account's stable opaque id. Call this FIRST (or search): it lists the spaces this connection reaches and what it may do in each, per product — never probe by guessing ids.
Returns { id, actor?: { name, email }, team?: { name }, selector, ceiling: string[], spaces: { [space_id]: { name?: string, classic: string[], papersign: string[], stepper: string[] } }, capabilities: "resolved" | "missing" }. ceiling is the widest set this connection can carry now (your role and team policy can narrow it); each space lists the scopes usable there right now. classic covers Paperform forms, papersign documents, stepper workflows — pass the space id to list, or start from search. name is the space's display name — use it when talking to the person. actor is the person this connection acts for (use their name when talking to them) and team their Paperform team. capabilities: "missing" means the person's current access could not be read, so nothing is reachable until it can — report that rather than retrying.
Example: whoami() → { "id": "pfu_0f3a…", "actor": { "name": "Sam Lee", "email": "sam@example.com" }, "team": { "name": "Acme" }, "selector": { "kind": "all" }, "ceiling": ["classic:forms:read"], "spaces": { "12": { "name": "Marketing", "classic": ["classic:forms:read"], "papersign": [], "stepper": [] } }, "capabilities": "resolved" }
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 |
|---|---|---|---|
| new_claim_code | No | Guests only: issue a fresh claim code, retiring the one issued earlier. Leave unset unless the person no longer has their code. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| team | No | ||
| actor | No | ||
| scopes | No | ||
| spaces | No | ||
| ceiling | No | ||
| selector | No | ||
| workspaces | No | ||
| capabilities | No |