Query
queryRead rows from a Copilot Studio agent-related Dataverse table using OData filters, select, orderby, and top. Query bot, component, and link tables to inspect agent metadata; read-only.
Instructions
Read rows from one agent related table with an OData style query. Read only.
table: a table from describe_model (bot, botcomponent, a link table, a referenced table).
select: comma separated columns. Empty returns the key and the columns the model documents, without
the large ones (data, configuration and the other JSON columns): name those when you need them.
filter: OData filter, e.g. "componenttype eq 16", "publishedon eq null",
"contains(name,'hr') and modifiedon gt 2026-01-01T00:00:00Z", "_parentbotid_value eq <guid>".
Lookup columns are written _<name>_value.
orderby: e.g. "modifiedon desc". top: rows to return, 1 to 500 (default 50).
Coded values come back with a <column>_label in the caller's language; describe_model has the
stable English meaning. For counts use aggregate; for one decoded agent use get_agent.
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": {
"table": "<table>"
},
"name": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| table | Yes | ||
| filter | No | ||
| select | No | ||
| orderby | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |