List your sites
list_sitesLists every site you own, newest first - site_key, name, preview_url and when that preview link expires, whether it is published and on which domain, and when it was created and last changed. Signed in (OAuth) it lists your account; with a draft_token it lists that draft. Read-only and free.
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": "list_sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_token | No | The draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header. |