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

Parameters: feed_pet
NameTypeDescription
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

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "habitica_write",
    "arguments": {
      "operation": "feed_pet",
      "arguments": {
        "pet": "pet",
        "food": "food"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "pet": "Wolf-Base",
    "food": "Meat",
    "food_left": {
      "Meat": 2
    }
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.