Generate domain fix prompt
generate_domain_fix_promptGenerate a fix prompt from saved domain observations. Prepare a coding-agent prompt from an owned report. One check uses one unit; full uses three. Three units are free once. Then US$0.10 per unit, or included in an active PageAudit plan. Read prompt_allowance first. Only send credit_token after explicit spending authorization; preserve request_id for retries. Read GET /api/prompts/quota before generation; the total depends on scope and existing rights. Three lifetime free units per account or anonymous network. A check uses one; full uses three. Extra units cost US$0.10 each. Active Starter, Pro and Agency plans include prompts while valid, within 60 requests/hour. No partial free debit: a full prompt needs three free units or is charged in full. The licensed prompt is saved for this owner and organization. Reopening the same selector is free even after plan expiry. Unverified checks are excluded: missing measurements are not purchasable correction evidence. Preserve its text and license; use it only for license.domain. Reuse the UUID v4 request_id and identical body after a delivery failure. Payment uses X-Credito or the x402 challenge. Never charge without the user's authorization. Uses saved observations only; does not start a new collection. Missing evidence is not charged.
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": {
"id": "<id>",
"scope": "<scope>",
"language": "<language>",
"request_id": "<request_id>",
"source": "<source>"
},
"name": "generate_domain_fix_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Owned tab in the active organization ID. | |
| scope | Yes | check or full. | |
| source | Yes | domain: the saved registration, certificate, DNS and email observations of the tab. | |
| check_id | No | registration, certificate, dns or email. Required for check; absent for full. | |
| language | Yes | Language of the prompt instructions and check names: en for English, pt for Portuguese. | |
| request_id | Yes | New UUID v4 per generation. Keep it unchanged for retries. | |
| guest_token | No | Private owner token returned by guest creation. Sent in X-Guest-Token; reuse it for this owner's resources. | |
| credit_token | No | Prepaid cred_… token. Requires explicit user authorization. |