Skip to content
Konstera
Capability catalogue
cloudreadfanout

cloud.resources.list

List cloud resources

Read-only inventory of cloud resources. Fans out across bindings.

Effect
read
Fanout
yes
Cache TTL
none
Traits
none
Implemented by

Azure, AWS (tagged resources only), Google Cloud

The tenant picks one of these when they bind this capability at install time. New implementations land as connectors ship — browse the connector catalogue.

Request arguments

Passed as the args parameter to ctx.capability.call("cloud.resources.list", …).

FieldTypeRequiredDescription
typestringnoOptional resource type in the provider's own form, e.g. Microsoft.Web/sites, ec2:instance, compute.googleapis.com/Instance
limitintegerno
default: 100 · min: 1 · max: 1000
querystringnoOptional text matched against resource names
regionstringnoOptional region / location, e.g. westeurope, eu-west-2, europe-west2

Response

Returned by ctx.capability.call("cloud.resources.list", …).

Array; each element is an object with the following fields.

FieldTypeRequiredDescription
urlstring | nullno
namestring | nullno
tagsobjectno
typestring | nullno
statestring | nullno
regionstring | nullno
accountstring | nullnoSubscription ID, AWS account or GCP project
providerstringyes
enum: ["azure","aws","gcp"]
resourceIdstringyes

Example call

From inside your agent's handle(). The kernel resolves cloud.resources.list to the tenant's connector binding at invocation time.

response = await ctx.capability.call(
    "cloud.resources.list",
    args={
        "type": "...",
        "limit": 100,
        "query": "...",
        "region": "...",
    },
)

See SDK quickstart for the full agent handler template; code examples covers invocation patterns including fanout and error handling.