Built-in tool
Apify for AI agents
One tool,
run_actor, that runs an Apify actor on the tenant's Apify token and returns up to 50 items of its dataset as JSON.What it does
- The connection lists the actors the agent may run (up to 20); the tool only accepts those, and the list is read again on every call, so narrowing it takes effect at once.
- A run is not marked as a read, so under the usual policy it waits for a person.
- Apify reports each run's cost, and that figure is what the call log and spending limits count.
- The dataset comes back wrapped as untrusted.
The rules in front of every call
- The actor needs a grant for the connection, read live on every call, with a daily call cap (default 20) and an optional daily dollar cap.
- Spending limits per actor, tenant and app count what each call cost at the service, and warn before they are reached.
- Every call is logged with its cost; a dry run runs every check and sends nothing.
What to watch: Scrapers can run up a bill: set a daily spending cap on the grant as well as a call cap.
How to connect it
A connect session with "source": "builtin", "provider": "apify" and the connection's config. Where the service needs a key, the person pastes it on our hosted page; it is encrypted here and never given to the agent. The agent then sees one tool, run_actor, through its MCP endpoint. See connect sessions.
Try it on your own app
Sign in, make an app and connect a test account from the dashboard. The docs cover every endpoint, the MCP endpoint and the grant rules.