Add and analyze a website
scout_analyze_websiteAdd a website to a project: analyze it and scrape a free sample of its products. Each customer has free analyses each month. After them, an analysis charges the prepaid balance when the job is created, without an approval. scout_get_balance shows the free analyses left and the price of one. If none are left, confirm the price with the user before you call this tool. Returns the setup job; poll it with scout_get_job(job_kind="setup") until it is COMPLETED, then check the sample with scout_get_sample. A job that FAILED with the error_code CURRENCY_NOT_AVAILABLE found that the website does not offer the currency: no switch of the website shows its prices in it. The error of the job names the currency the website shows, when the analysis found it. The analysis is used, also a paid one. Ask the user for a currency the website offers, then analyze the website again. A project without localization gets the country and currency of this website.
country: ISO 3166 code of the market to scrape, e.g. "CZ". currency: ISO 4217 code of the prices to scrape, e.g. "CZK".
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": {
"url": "<url>",
"project_id": "<project_id>",
"country": "<country>",
"currency": "<currency>"
},
"name": "scout_analyze_website"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| country | Yes | ||
| currency | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |