New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

agent_studio_execute_agent

Execute Agent

SERVERGhl SOURCE@aiwerk/mcp-server-ghl
High RISK CLASS
Category Execute
Parameters 92 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/aiwerk-mcp-server-ghl/agent-studio-execute-agent.md

What agent_studio_execute_agent does on Ghl

AI agents invoke agent_studio_execute_agent to trigger actions in Ghl. 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.

ParameterTypeRequiredDescription
source string
agentId string Yes
message string Yes Message to send to the agent
contactId string Contact ID to associate with this execution. When provided, contact data will be hydrated and made available to the agent.
versionId string Published version ID to execute. If not provided, the latest published production version will be used.
locationId string Location ID Defaults to GHL_LOCATION_ID when omitted.
attachments array Attachments for the message
executionId string Unique session identifier that maintains conversational context across multiple interactions within the same agent session. Omit this field for the first messag
inputVariables object Input variables to pass to the agent. These should match the input variables defined in the agent configuration.

Parameters from the server's own tool schema.

Why agent_studio_execute_agent is rated High

agent_studio_execute_agent triggers real processes with real consequences. An agent gone sideways doesn't fire it once. It starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.

Questions about agent_studio_execute_agent

What does the agent_studio_execute_agent tool do? +

Execute Agent. It is categorised as a Execute tool in the Ghl MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

What parameters does agent_studio_execute_agent accept? +

agent_studio_execute_agent accepts 9 parameters: source, agentId, message, contactId, versionId, locationId, attachments, executionId, inputVariables. Required: agentId, message. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on agent_studio_execute_agent? +

Register the Ghl MCP server in PolicyLayer and add a rule for agent_studio_execute_agent: 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 Ghl. Nothing to install.

What risk level is agent_studio_execute_agent? +

agent_studio_execute_agent is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit agent_studio_execute_agent? +

Yes. Add a rate_limit block to the agent_studio_execute_agent 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.

How do I block agent_studio_execute_agent completely? +

Set action: deny in the PolicyLayer policy for agent_studio_execute_agent. 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.

What MCP server provides agent_studio_execute_agent? +

agent_studio_execute_agent is provided by the Ghl MCP server (@aiwerk/mcp-server-ghl). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Ghl, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Ghl's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.