push_into
Enter a container or inner shell from an SSH layer via docker exec or kubectl exec, inherit the execution pipeline, and set the new shell as the default layer.
Instructions
从默认层(或 from 指定层)进入内层 shell(docker exec -i sh / kubectl exec 等)——enter 管线全量继承追加(父层 docker→再 su 不丢)。新层成为默认层。需 ssh 层为源。
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": {
"enter_cmd": "<enter_cmd>"
},
"name": "push_into"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | 源层名(缺省=默认层) | |
| name | No | 层名(缺省=label) | |
| label | No | 层显示标签 | |
| enter_cmd | Yes | 进入命令,如 "docker exec -i web sh"(别名 enterCommand/enter_command/enterCmd 等价) |