agency-hosting_updateWebsitePHPVersionV1
Switches an Agency Plan website to a different PHP version. Call the available versions endpoint first to see which versions can be selected. The website restarts on the new version, so requests served during the switch may fail and code that is incompatible with the target version will break.
This record as markdown: /tools/io-github-hostinger-hostinger-api-mcp/agency-hosting-updatewebsitephpversionv1.md
What agency-hosting_updateWebsitePHPVersionV1 does on Hostinger Api
AI agents invoke agency-hosting_updateWebsitePHPVersionV1 to trigger actions in Hostinger Api. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
| Parameter | Type | Required | Description |
|---|---|---|---|
version | string | Yes | PHP version to switch the website to, as major.minor. Must be one of the versions returned by the available versions endpoint. |
website_uid | string | Yes | Agency Plan website UID |
Parameters from the server's own tool schema.
Why agency-hosting_updateWebsitePHPVersionV1 is rated High
Switching PHP version restarts the website and can break incompatible code, causing service disruption.
From the tool's definition website restarts, requests may fail, code incompatible with target version will break
Attacks that exploit this kind of access
The rule that runs agency-hosting_updateWebsitePHPVersionV1 safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Hostinger Api, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For agency-hosting_updateWebsitePHPVersionV1, this is the rule to start with:
agency-hosting_updateWebsitePHPVersionV1 stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Hostinger Api, apply this rule, and every agency-hosting_updateWebsitePHPVersionV1 call is checked against it from then on.
Questions about agency-hosting_updateWebsitePHPVersionV1
Switches an Agency Plan website to a different PHP version. Call the available versions endpoint first to see which versions can be selected. The website restarts on the new version, so requests served during the switch may fail and code that is incompatible with the target version will break. It is categorised as a Execute tool in the Hostinger Api MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
agency-hosting_updateWebsitePHPVersionV1 accepts 2 parameters: version, website_uid. Required: version, website_uid. The full parameter table on this page comes from the server's own tool schema.
Register the Hostinger Api MCP server in PolicyLayer and add a rule for agency-hosting_updateWebsitePHPVersionV1: 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 Hostinger Api. Nothing to install.
agency-hosting_updateWebsitePHPVersionV1 is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the agency-hosting_updateWebsitePHPVersionV1 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 agency-hosting_updateWebsitePHPVersionV1. 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.
agency-hosting_updateWebsitePHPVersionV1 is provided by the Hostinger Api MCP server (hostinger-api-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Hostinger Api, and thousands of servers like it.
Across the catalogue