Add a follow-up to Cursor when Button widget is pressed
This action will add a follow-up instruction to a Cursor cloud agent, starting a new run to guide it toward additional changes.
Developer info
- API endpoint slug
- cursor.add_followup_instruction
- Filter code method
- Cursor.addFollowupInstruction.skip(string?: reason)
- Runtime method
- runAction("cursor.add_followup_instruction", {})
Action fields
Agent Text input > Other
- Label
- Agent ID
- Helper text
- The ID of the agent to send the follow-up to (e.g. bc-3a1b9c...).
- Slug
- agent_id
- Required
- true
- Can have default value
- true
- Filter code method
- Cursor.addFollowupInstruction.setAgentId(string: agent_id)
Followup instruction Text input > Long text
- Label
- What's the follow-up instruction?
- Helper text
- Additional instructions to guide the agent. Example: Also add error handling for invalid inputs.
- Slug
- followup_instruction
- Required
- true
- Can have default value
- true
- Filter code method
- Cursor.addFollowupInstruction.setFollowupInstruction(string: followup_instruction)
