Get one paywall or onboarding flow's config
get_surfaceThe configuration of one paywall or onboarding flow, plus its version history (version, note, date). A served design's compiled html is left out (html_bytes gives its size) and a Studio doc shows as doc: true; read the design with get_paywall_doc or get_onboarding_doc. Note that configs never contain price strings — prices resolve at render time from the PurchasesAdapter's packages, so never copy a price literal out of (or into) a config.
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": {
"kind": "<kind>",
"id": "<id>"
},
"name": "get_surface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The surface id, from list_surfaces | |
| kind | Yes | Which kind of surface |