credential_aware_mcp_write
Validate credential and return a write-ready MCP tool envelope.
Agents include X-Wever-Agent-Key, Idempotency-Key, rail_key, and required_scope before write tools execute. The response returns enforcement state and write envelope.
/api/credential-aware-mcp-writesUse POST modes for execution and GET compact mode for the machine-readable contract.
Validate credential and return a write-ready MCP tool envelope.
Agent key fingerprint is stored with the write decision.
Store the audit event with run and receipt records.