Capability catalogue
evidenceread
db.objects.list
List database objects
Finds user objects by name in a SQL Server database (sys.objects), at most 200, filtered by the connection's object_allowlist. Metadata only. Internal evidence: for understanding only, never quoted.
Effect
read Fanout
no
Cache TTL
none
Traits
internal_evidence, read_only
Request arguments
Passed as the args parameter to ctx.capability.call("db.objects.list", …).
| Field | Type | Required | Description |
|---|---|---|---|
| types | any | no | procedure (default), view, function, table; a string (comma-separated) or an array |
| pattern | string | yes | LIKE pattern for the object name, e.g. procDWGetProductsToSync%. Optional schema part: dbo.procDW%. Letters, digits, spaces and _ % - $ # @ . only. |
Response
Returned by ctx.capability.call("db.objects.list", …).
Array; each element is an object with the following fields.
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | yes | |
| type | string | yes | enum: ["procedure","view","function","table"] |
| schema | string | yes | |
| created | string | no | Server local time, ISO-8601 without offset |
| modified | string | no | Server local time, ISO-8601 without offset |
Example call
From inside your agent's handle(). The kernel resolves db.objects.list to the tenant's connector binding at invocation time.
response = await ctx.capability.call(
"db.objects.list",
args={
"types": null,
"pattern": "...",
},
)See SDK quickstart for the full agent handler template; code examples covers invocation patterns including fanout and error handling.