AgentPMT Send Human Request
AgentPMT-Send-Human-RequestAgentPMT Send Human Request - Send a request or notification to the human who owns your budget, then check their decision. Every send is delivered to the human by email, by push notification in the AgentPMT mobile app, and as a notice in the Messages tab of the AgentPMT dashboard; they approve or deny from any of the three. Use action=send with request_type enable_tool or credential_setup (id = product ObjectId, required), enable_workflow (id = workflow ObjectId, required), add_funds, other, or notification_only, plus a plain-language request (max 5000 characters). Approving enable_tool or enable_workflow adds the target to the current budget automatically; approving add_funds completes a credit purchase; approving credential_setup stores the connection credentials. send returns mobile_request_id and approval_required. When approval_required is true, poll with action=check_response and request_id until status is approved, denied, or expired, then read decision_notes and action_result before continuing. notification_only never requires approval and must not be polled. Free, no credentials required, always available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Product/workflow ObjectId for access requests, or optional target identifier for check_response lookup | |
| action | No | Operation to perform: send (default) or check_response. Only use check_response when send returned approval_required=true. | send |
| request | No | Freeform request body to send to the user (required when action=send) | |
| request_id | No | Mobile approval request ObjectId to check when action=check_response. | |
| request_type | No | Request type: add_funds, enable_tool, enable_workflow, notification_only, other (required when action=send). Use notification_only to send a message that does not require approval; do not wait after sending. | |
| include_request | No | When action=check_response, include the full request record in the response. |