Describe a GraphQL API
describe_backendDescribes an API for GraphQL item in the names a query uses: types, list query fields, fields and relationships. Requires workspace and an API that create_backend has created (list_sources lists them). Returns JSON {types: [{type, query_field, source, fields, relationships, by_key, writable}], how_to_query}. Read from the item's definition, so introspection can be off; changes nothing. query_graphql runs a query. Errors: {error, kind, hint}.
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": {
"workspace": "<workspace>",
"api": "<api>"
},
"name": "describe_backend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | API for GraphQL item created by create_backend, by name or id. | |
| workspace | Yes | Fabric workspace, name or id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |