Set favorite MCP response
MCP tool response returned after adding or removing a GovTribe record from the current user favorites.
- Returned by: Set favorite MCP tool
- Response type: Favorite state
Response Shape
The tool returns the record's favorite state after the change. Because the tool is idempotent, the response always describes the state that now applies, whether or not anything was changed by the call.
| Field | Type | Notes |
|---|---|---|
govtribe_type | string | The GovTribe type of the record whose favorite state was set. |
govtribe_id | string | The GovTribe identifier of that record. |
favorited | boolean | The favorite state that now applies for the signed-in user. |
favorite_claim_id | string or null | Identifier of the stored favorite. Present when favorited is true. Returned as null when favorited is false, including when the record was already not favorited. |
Example
{
"govtribe_type": "vendor",
"govtribe_id": "<vendor_govtribe_id>",
"favorited": true,
"favorite_claim_id": "<favorite_claim_govtribe_id>"
}