> Call POST /v1/check before a tool that writes. DENY means do not invoke the tool. For clean Markdown of any page, append .md to the page URL. For the complete index, fetch https://docs.withwrit.com/llms.txt. # Agent ## API Docs - Agent [Send a message to the portal agent](https://docs.withwrit.com/api-reference/agent/send-a-message-to-the-portal-agent.md) - Agent [Approve a pending agent action](https://docs.withwrit.com/api-reference/agent/approve-a-pending-agent-action.md) - Agent [Cancel a pending agent action](https://docs.withwrit.com/api-reference/agent/cancel-a-pending-agent-action.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.withwrit.com/api-reference/agent/openapi.json) - [OpenAPI YAML](https://docs.withwrit.com/api-reference/agent/openapi.yaml)