Search and play song
play_songSearch for a song by keyword, play the best matching result, and return song details and listening context.
Instructions
Search for a song, play the best match with neteasecli/mpv, and return song info plus listening context. The style field is filled from NetEase song wiki when available.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"keyword": "<keyword>"
},
"name": "play_song"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | Song request, for example '编号89757 林俊杰'. | |
| quality | No | exhigh | |
| style | No | Optional fallback style/genre hint. NetEase song wiki style is used first when available. | |
| resultIndex | No | Zero-based search result index to play, accepts a number or numeric string. |