get_class_details
dofus.comGets detailed information for a specific DOFUS class from https://dofus.com using its numeric id and slug. Returns the class display name, baseline role, active roles, and lore description.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_class_details?
Gets detailed information for a specific DOFUS class from https://dofus.com using its numeric id and slug. Returns the class display name, baseline role, active roles, and lore description. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass class_id, class_slug, lang and get the result back without maintaining a scraper.
Response
{
"id": 0,
"slug": "<string>",
"active_roles": [
"<string>"
],
"display_name": "<string>",
"baseline_role": "<string>",
"lore_description": "<string>"
}Call it
curl --location 'https://us-prod.notte.cc/functions/820c001d-eca4-4c14-8c2b-7fc9c9bcbe99/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "820c001d-eca4-4c14-8c2b-7fc9c9bcbe99",
"variables": {
"class_id": 1,
"class_slug": "feca",
"lang": "en"
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="820c001d-eca4-4c14-8c2b-7fc9c9bcbe99") — the "get_class_details" function, which gets detailed information for a specific DOFUS class from https://dofus.com using its numeric id and slug. Returns the class display name, baseline role, active roles, and lore description.. It takes class_id (int), class_slug (str), lang (str). Return the result as structured JSON.