stack_detail
Retrieve detailed configuration for a Portainer stack, including environment variables, entrypoint, and resource controls, to inspect and troubleshoot deployments.
Instructions
[READ] One Portainer stack in detail (env, entrypoint, resource control).
Requires a portainer target.
Args: stack_id: Portainer stack id. target: Target name from config; omit for the default.
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": {
"stack_id": "<stack_id>"
},
"name": "stack_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| stack_id | Yes |