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", …).
| Field | Type | Required | Description |
|---|---|---|---|
| type | string | no | Optional resource type in the provider's own form, e.g. Microsoft.Web/sites, ec2:instance, compute.googleapis.com/Instance |
| limit | integer | no | default: 100 · min: 1 · max: 1000 |
| query | string | no | Optional text matched against resource names |
| region | string | no | Optional 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.
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | null | no | |
| name | string | null | no | |
| tags | object | no | |
| type | string | null | no | |
| state | string | null | no | |
| region | string | null | no | |
| account | string | null | no | Subscription ID, AWS account or GCP project |
| provider | string | yes | enum: ["azure","aws","gcp"] |
| resourceId | string | yes |
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.