get_episodes
Retrieve and filter episodes for a specific anime or media subject by specifying IDs, episode types, and pagination settings. Supports MainStory, SP, OP, ED, PV, MAD, and Other types.
Instructions
List episodes for a subject.
Supported Episode Types (integer enum):
0: MainStory, 1: SP, 2: OP, 3: ED, 4: PV, 5: MAD, 6: Other
Args:
subject_id: The ID of the subject.
episode_type: Optional filter by episode type (integer value from EpType enum).
limit: Pagination limit. Max 200. Defaults to 100.
offset: Pagination offset. Defaults to 0.
Returns:
Formatted list of episodes or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
episode_type | No | ||
limit | No | ||
offset | No | ||
subject_id | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"EpType": {
"description": "章节类型\n0 = 本篇, 1 = 特别篇, 2 = OP, 3 = ED, 4 = 预告/宣传/广告, 5 = MAD, 6 = 其他",
"enum": [
0,
1,
2,
3,
4,
5,
6
],
"title": "EpType",
"type": "integer"
}
},
"properties": {
"episode_type": {
"anyOf": [
{
"$ref": "#/$defs/EpType"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"default": 100,
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"title": "Offset",
"type": "integer"
},
"subject_id": {
"title": "Subject Id",
"type": "integer"
}
},
"required": [
"subject_id"
],
"title": "get_episodesArguments",
"type": "object"
}