resource-pool
List SmartCMP resource pools through the same standalone directory endpoint used by the CMP UI.
Purpose
Provide a precise, read-only skill for direct resource-pool browsing.
- Query
/resource-bundles - Default to the first 50 resource pools and use
pagefor further results - Support optional keyword filtering with
query_value - Return a numbered list for the user and a machine-readable metadata block for follow-up actions
Critical Rules
- Do not ask for
businessGroupId,sourceKey, ornodeTypewhen the user only wants to browse resource pools. - Do not switch to the request workflow unless the user is actually preparing a request.
- Keep the user-visible output to the numbered list of resource-pool names.
- Treat IDs and other metadata as hidden backend state unless the user explicitly asks for them.
Handler
scripts/adapter.py:list_resource_pools converts the optional Tool query and
calls the SmartCMP Provider directory operation. This Skill has one Tool, so
one direct handler file is appropriate; no extra forwarding Python is kept.