Lando Exec
lando_execRuns a shell command inside the Lando container of a specified Drupal project directory, enabling Drush and other container-based operations.
Instructions
Run command in the container of the Lando project under
project_name (a directory).
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": {
"command": "<command>"
},
"name": "lando_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| project_name | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||