Execute Pica Action
execute_pica_actionPerform operations on third-party platforms via Pica by executing predefined actions such as fetching data or creating tasks. Ensure user intent is confirmed and call get_pica_action_knowledge first for accurate execution.
Instructions
Execute a Pica action to perform actual operations on third-party platforms. CRITICAL: Only call this when the user's intent is to EXECUTE an action (e.g., 'read my last Gmail email', 'fetch 5 contacts from HubSpot', 'create a task in Asana'). DO NOT call this when the user wants to BUILD or CREATE code/forms/applications - in those cases, stop after get_pica_action_knowledge and provide implementation guidance instead. REQUIRED WORKFLOW: Must call get_pica_action_knowledge first. If uncertain about execution intent or parameters, ask for confirmation before proceeding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action object with ID, path, and method | |
| connectionKey | Yes | Key of the connection to use | |
| data | No | Request data (for POST, PUT, etc.) | |
| headers | No | Additional headers | |
| isFormData | No | Whether to send data as multipart/form-data | |
| isFormUrlEncoded | No | Whether to send data as application/x-www-form-urlencoded | |
| pathVariables | No | Variables to replace in the path | |
| platform | Yes | Platform name | |
| queryParams | No | Query parameters |