call_api
通过限流代理发送 HTTP 请求。所有外部 API 调用建议经此工具。 参数:url(必填)/ method(可选,默认 GET)/ body(可选,JSON 字符串或对象)/ headers(可选,JSON 字符串或对象)。 返回:API 响应内容 + 速率限制用量快照。被限流时返回 RATE_LIMIT_EXCEEDED 及建议等待秒数; 单次请求超过每分钟 token 总额时返回 REQUEST_EXCEEDS_WINDOW(等待无效,需减小请求体)。 仅允许 http/https。请求 30 秒超时,最多跟随 5 次重定向(跨域时剥离敏感头),响应最多返回 200KB 并以 tr...
This record as markdown: /tools/429-throttle-mcp/call-api.md
What call_api does on 429 Throttle
AI agents call call_api to retrieve information from 429 Throttle without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why call_api is rated Low
Even though call_api only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Attacks that exploit this kind of access
The rule that runs call_api safely
PolicyLayer is an MCP gateway: it sits between your AI agents and 429 Throttle, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For call_api, this is the rule to start with:
call_api is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect 429 Throttle, apply this rule, and every call_api call is checked against it from then on.
Questions about call_api
通过限流代理发送 HTTP 请求。所有外部 API 调用建议经此工具。 参数:url(必填)/ method(可选,默认 GET)/ body(可选,JSON 字符串或对象)/ headers(可选,JSON 字符串或对象)。 返回:API 响应内容 + 速率限制用量快照。被限流时返回 RATE_LIMIT_EXCEEDED 及建议等待秒数; 单次请求超过每分钟 token 总额时返回 REQUEST_EXCEEDS_WINDOW(等待无效,需减小请求体)。 仅允许 http/https。请求 30 秒超时,最多跟随 5 次重定向(跨域时剥离敏感头),响应最多返回 200KB 并以 truncated 标记截断。. It is categorised as a Read tool in the 429 Throttle MCP Server, which means it retrieves data without modifying state.
Register the 429 Throttle MCP server in PolicyLayer and add a rule for call_api: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches 429 Throttle. Nothing to install.
call_api is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the call_api rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for call_api. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
call_api is provided by the 429 Throttle MCP server (429-throttle-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on 429 Throttle, and thousands of servers like it.
This server
Across the catalogue