register_agent
Register agents with PolicyGuard to assign trust levels and control tool access for security policy enforcement.
Instructions
Register a new agent with Guardian for security policy evaluation.
Registered agents get proper trust levels and can have custom tool permissions. Unregistered agents are treated as 'low' trust.
Args: agent_id: Unique identifier for the agent (e.g., "prod-assistant-01") name: Human-readable name (e.g., "Production Assistant") description: Description of the agent's purpose trust_level: Trust level - "low", "medium", "high", or "admin" allowed_tools: JSON array of allowed tool patterns (e.g., '["read_", "query_"]') denied_tools: JSON array of denied tool patterns (e.g., '["delete_", "drop_"]') metadata: JSON object with additional agent metadata
Returns: JSON string with registration result: - success: Whether registration succeeded - agent_id: The agent's ID - message: Status message - warnings: Any warnings about the registration
Example: register_agent( agent_id="data-analyst-01", name="Data Analyst Bot", description="Runs analytical queries on warehouse", trust_level="medium", allowed_tools='["query_", "read_"]', denied_tools='["delete_", "drop_", "truncate_*"]' )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| name | Yes | ||
| description | No | ||
| trust_level | No | medium | |
| allowed_tools | No | [] | |
| denied_tools | No | [] | |
| metadata | No | {} |