{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/danilo-aguiar-br/browser-automation-cli/docs/schemas/scrape.schema.json",
"title": "scrape command input",
"type": "object",
"description": "Navigate and return body text / formats (local HTTP or CDP scrape)",
"properties": {
"engine": {
"description": "Default browser (CDP)",
"enum": [
"http",
"browser"
],
"type": "string"
},
"format": {
"description": "Default text; browser engine also applies format via outerHTML",
"enum": [
"text",
"markdown",
"html",
"raw-html",
"links",
"metadata",
"screenshot",
"summary",
"product",
"branding"
],
"type": "string"
},
"only_main_content": {
"type": "boolean"
},
"url": {
"type": "string"
},
"webhook_url": {
"description": "Optional one-shot operator POST of result data (not product telemetry)",
"type": "string"
}
},
"required": [
"url"
],
"additionalProperties": false
}