Page extraction
Included in the platform · also .usagent
page-extract.usagent
SHA-256 · d4f060b10c97…
What the agent does
The agent receives an address and a description of what needs to be taken from the page: products, prices, the headline of an article or other fields. The page is read with a single fetch_url request, the values are copied from the text.
Fields that are not on the page go to missing. Pages that are assembled only in a browser, after a login or from several links, are not opened by this agent. The package is part of the UniShift installation.
How to install
- Download
page-extract.usagent. - Open Settings → AI Router → Agents.
- Click "Import .usagent" and select the file.
- An unsigned package goes to quarantine. An administrator checks it and publishes it.
Running requires an online runner-agent with a capability from the list below. Without a runner the agent is unavailable.
Runner requirements
agent.run.v1
Tools
Steps
-
fetchCall fetch_url on the single http(s) URL in the request. Keep the returned text. If there is no URL, stop.
-
extractReturn the final JSON only. items contain the requested fields copied from the fetched text. Requested fields that are absent go to missing. Do not add values that were not on the page.
API:
GET /api/agents/page-extract
·
GET /api/agents/page-extract/download