roma__ListCommands
Lists ROMA commands for a specified service instance and project, with optional filters by command ID or name and pagination. Use it to inspect available commands before managing or invoking them.
Instructions
[ROMA] 查询命令
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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"service_id": "<service_id>"
},
"name": "roma__ListCommands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 每页显示条目数量,最大数量999,超过999后只返回999 | |
| offset | No | 偏移量,表示从此偏移量开始查询, offset大于等于0 | |
| command_id | No | 命令ID | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| service_id | Yes | 服务ID | |
| instance_id | Yes | 实例ID | |
| command_name | No | 命令名称 |