gqlfed_add_subgraph
Add a new federated subgraph to your GraphQL federation project by providing the project directory to configure and integrate it.
Instructions
Add federated subgraph
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": {
"directory": "<directory>"
},
"name": "gqlfed_add_subgraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory |