check_url
Checks whether a URL is allowed under a network policy before executing a request. Returns allowed status and reason to gate tool calls.
Instructions
Check whether a URL is allowed under a network policy. Returns { allowed, reason } without making any actual request. Use this to gate tool calls before they execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to check. | |
| method | No | HTTP method (default GET). | |
| policy | Yes | A simplified network policy. Use { allow: ["api.openai.com", "*.example.com"] }. Optional: deny: string[], methods: string[]. |