pcs_resource_config
Retrieve the full configured definition of a Pacemaker resource, including agent, parameters, operations, and meta-attributes, to inspect or debug its setup.
Instructions
Show the configured definition for a specific resource via 'pcs resource config '. Includes agent, parameters, operations, and meta-attributes for that resource only.
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": {
"resource": "<resource>"
},
"name": "pcs_resource_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sudo | No | Prefix commands with sudo on the remote host | |
| cluster | No | Named cluster in config | |
| resource | Yes | Resource ID to show config for | |
| timeoutMs | No | SSH command timeout in milliseconds | |
| sshConfigHost | No | OpenSSH Host alias to resolve connection parameters | |
| sshConfigPath | No | Path to OpenSSH config (defaults to ~/.ssh/config) |