Commands
commandsList every command-line utility that has a tldr-pages cheatsheet, filtered to one platform (common, linux, osx, windows, android, sunos, freebsd) and one ISO 639-1 language, read from the tldr-pages index published on GitHub. Returns the command names plus a count. Answers which shell commands tldr documents for a given platform, before fetching a page.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"language": "en",
"platform": "linux"
},
"name": "commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | ||
| platform | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of commands returned | |
| commands | Yes | List of command names | |
| language | Yes | Language code used | |
| platform | Yes | Platform filter used |