May my agent fetch this?
gaip_check_permissionUse this before your agent fetches a page ("may my agent fetch this?"). Pass the url and your agent token. Reads robots.txt (RFC 9309), AI-preference lines, RSL, tdmrep.json and llms.txt; returns ALLOWED, DISALLOWED, NO_RULE or UNKNOWN, the rule quoted, the time and a signature. Free, read-only, no account; inputs must be public and non-personal.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "https://www.gaipagents.com/test-range",
"agent": "GPTBot"
},
"name": "gaip_check_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The public https URL your agent wants to fetch. | |
| agent | No | Your agent's user-agent token as robots.txt names it, e.g. GPTBot or ClaudeBot (a full User-Agent string also works). Default * (any crawler without its own rules). | |
| user_agent | No | Alternative to agent: your agent's full User-Agent string. |