Feed a pet
Feed a pet one food item.
MCP tool habitica_write → feed_pet
write Confirm
Uses one food item on the pet and returns how fed it is. Pets have food preferences, so some food is wasted on the wrong pet. A fed pet can become a mount.
Parameters
| Name | Type | Description |
|---|---|---|
| pet string required | string | Pet name from list_pets_and_mounts, for example Wolf-Base. |
| food string required | string | Food name from list_pets_and_mounts, for example Meat. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "habitica_write",
"arguments": {
"operation": "feed_pet",
"arguments": {
"pet": "pet",
"food": "food"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"pet": "Wolf-Base",
"food": "Meat",
"food_left": {
"Meat": 2
}
},
"isError": false
}