attach_policy_to_agent
Attach a policy to an agent to define the rules and permissions the agent must follow when executing tasks.
Instructions
Scope a policy to a agent so the agent uses it. Verify it landed with list_agent_policies before request_publish_agent — the link lives outside the entity body, so re-reading the agent will not show it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ||
| policyId | Yes |