get_contracts
List all contracts in a workspace, with optional filtering by type (HTTP, gRPC, event, GraphQL, RabbitMQ, Kafka).
Instructions
List all contracts in a workspace, optionally filtered by kind (http, grpc, event, graphql, rabbit, kafka).
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_id": "<workspace_id>"
},
"name": "get_contracts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | Workspace to list contracts for | |
| kind | No | Filter by contract kind — omit to return all kinds |