paydirt_add_feedback_form
Add a named feedback form to an iOS app at a specified screen or action. Reuses matching titles, preserves placement, returns Swift code, and requires edit/build/test for completion.
Instructions
Use this when the user asks for a named feedback form at a screen, button, lifecycle moment, or in-app action. Creates or reuses a normalized-title match, preserves the placement verbatim, optionally resolves Slack, and returns exact Swift plus mandatory edit/build/test actions. Remote form creation alone is not completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The exact user-requested form title, such as “Post Export Feedback”. | |
| app_id | Yes | The Paydirt app ID. Discover it with setup or list_apps rather than asking if it is already available. | |
| trigger | Yes | How presentation is triggered. Use user_tap for a button/menu item, in_app_action after an action succeeds, screen_appearance when opening a screen, or custom_condition for app-specific logic. | |
| placement | Yes | The exact host-app location or action from the user, such as “Settings below Restore Purchases” or “after a successful export”. Preserve this text through implementation and reporting. | |
| slack_channel | No | Optional Slack channel name (with or without #) or channel ID. If omitted, the contract still requires the agent to connect Slack and assign a channel before completion. | |
| initial_question | No | Optional first question. Defaults to “What would you like us to know?”. If supplied on a retry, the existing matching form is updated instead of duplicated. | |
| custom_system_prompt | No | Optional guidance for AI follow-up questions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ios | Yes | ||
| form | Yes | ||
| slack | Yes | ||
| success | Yes | ||
| form_action | Yes | ||
| agent_actions | Yes | ||
| requested_placement | Yes | ||
| completion_requirements | Yes |