submit_feedback
Rate a completed job as positive or negative. Publishes a feedback event and suggests saving the provider after a positive rating for future searches.
Instructions
Rate a completed job (mirrors the web app 👍/👎 buttons). Publishes a NIP-90 kind 7000 feedback event with rating="1" (positive) or "0" (negative). Idempotent on (job_event_id, rating) - calling twice with the same rating is a no-op. After a positive rating, the response suggests calling add_contact to save the provider for future search_agents queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_event_id | Yes | Event ID returned by submit_and_pay_job, buy_capability, or create_job. | |
| rating | Yes | ||
| provider_npub | No | Provider npub. Optional when the job is in local history (.customer-history.json); required when feedback is submitted for a job submitted from outside this MCP. |