community: remove premium protocols and streaming surface
This commit is contained in:
@@ -1,131 +0,0 @@
|
||||
{
|
||||
"name": "country_lookup_countries",
|
||||
"display_name": "Lookup Country",
|
||||
"category": "geo",
|
||||
"protocol": "graphql",
|
||||
"target": {
|
||||
"kind": "graphql",
|
||||
"endpoint": "https://countries.trevorblades.com/",
|
||||
"operation_type": "query",
|
||||
"operation_name": "GetCountry",
|
||||
"query_template": "query GetCountry($code: ID!) { country(code: $code) { code name capital emoji currency languages { code name } } }",
|
||||
"response_path": "$.response.body.data.country"
|
||||
},
|
||||
"input_schema": {
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"fields": {
|
||||
"code": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"output_schema": {
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"fields": {
|
||||
"code": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"capital": {
|
||||
"type": "string",
|
||||
"required": false
|
||||
},
|
||||
"emoji": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"currency": {
|
||||
"type": "string",
|
||||
"required": false
|
||||
},
|
||||
"languages": {
|
||||
"type": "array",
|
||||
"required": true,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"fields": {
|
||||
"code": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"input_mapping": {
|
||||
"rules": [
|
||||
{
|
||||
"source": "$.mcp.code",
|
||||
"target": "$.request.variables.code",
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"output_mapping": {
|
||||
"rules": [
|
||||
{
|
||||
"source": "$.response.data.code",
|
||||
"target": "$.output.code",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"source": "$.response.data.name",
|
||||
"target": "$.output.name",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"source": "$.response.data.capital",
|
||||
"target": "$.output.capital",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"source": "$.response.data.emoji",
|
||||
"target": "$.output.emoji",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"source": "$.response.data.currency",
|
||||
"target": "$.output.currency",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"source": "$.response.data.languages",
|
||||
"target": "$.output.languages",
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"execution_config": {
|
||||
"timeout_ms": 10000,
|
||||
"headers": {}
|
||||
},
|
||||
"tool_description": {
|
||||
"title": "Lookup Country",
|
||||
"description": "Fetch country metadata from the public Countries GraphQL API.",
|
||||
"tags": [
|
||||
"graphql",
|
||||
"geo",
|
||||
"smoke"
|
||||
],
|
||||
"examples": [
|
||||
{
|
||||
"input": {
|
||||
"code": "BR"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,100 +0,0 @@
|
||||
{
|
||||
"name": "grpcb_add_sum",
|
||||
"display_name": "Add Numbers (grpcb.in)",
|
||||
"category": "math",
|
||||
"protocol": "grpc",
|
||||
"target": {
|
||||
"kind": "grpc",
|
||||
"server_addr": "http://grpcb.in:9000",
|
||||
"package": "addsvc",
|
||||
"service": "Add",
|
||||
"method": "Sum",
|
||||
"descriptor_ref": "desc_addsvc_grpcb",
|
||||
"descriptor_set_b64": "CqQKCgxhZGRzdmMucHJvdG8SBmFkZHN2YyIoCgpTdW1SZXF1ZXN0EgwKAWEYASABKANSAWESDAoBYhgCIAEoA1IBYiIqCghTdW1SZXBseRIMCgF2GAEgASgDUgF2EhAKA2VychgCIAEoCVIDZXJyIisKDUNvbmNhdFJlcXVlc3QSDAoBYRgBIAEoCVIBYRIMCgFiGAIgASgJUgFiIi0KC0NvbmNhdFJlcGx5EgwKAXYYASABKAlSAXYSEAoDZXJyGAIgASgJUgN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sCDwoMCgUEAgIABRIDGwIICgwKBQQCAgABEgMbCQoKDAoFBAICAAMSAxsNDgoLCgQEAgIBEgMcAg8KDAoFBAICAQUSAxwCCAoMCgUEAgIBARIDHAkKCgwKBQQCAgEDEgMcDQ4KSwoCBAMSBCAAIwEaPyBUaGUgQ29uY2F0IHJlc3BvbnNlIGNvbnRhaW5zIHRoZSByZXN1bHQgb2YgdGhlIGNvbmNhdGVuYXRpb24uCgoKCgMEAwESAyAIEwoLCgQEAwIAEgMhAg8KDAoFBAMCAAUSAyECCAoMCgUEAwIAARIDIQkKCgwKBQQDAgADEgMhDQ4KCwoEBAMCARIDIgIRCgwKBQQDAgEFEgMiAggKDAoFBAMCAQESAyIJDAoMCgUEAwIBAxIDIg8QYgZwcm90bzM="
|
||||
},
|
||||
"input_schema": {
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"fields": {
|
||||
"a": {
|
||||
"type": "integer",
|
||||
"required": true
|
||||
},
|
||||
"b": {
|
||||
"type": "integer",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"output_schema": {
|
||||
"type": "object",
|
||||
"required": true,
|
||||
"fields": {
|
||||
"sum": {
|
||||
"type": "integer",
|
||||
"required": true
|
||||
},
|
||||
"error_message": {
|
||||
"type": "string",
|
||||
"required": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"input_mapping": {
|
||||
"rules": [
|
||||
{
|
||||
"source": "$.mcp.a",
|
||||
"target": "$.request.grpc.a",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"source": "$.mcp.b",
|
||||
"target": "$.request.grpc.b",
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"output_mapping": {
|
||||
"rules": [
|
||||
{
|
||||
"source": "$.response.data.v",
|
||||
"target": "$.output.sum",
|
||||
"required": true,
|
||||
"transform": {
|
||||
"kind": "to_number"
|
||||
}
|
||||
},
|
||||
{
|
||||
"source": "$.response.data.err",
|
||||
"target": "$.output.error_message",
|
||||
"required": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"execution_config": {
|
||||
"timeout_ms": 5000,
|
||||
"headers": {},
|
||||
"protocol_options": {
|
||||
"grpc": {
|
||||
"use_tls": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"tool_description": {
|
||||
"title": "Add Numbers (grpcb.in)",
|
||||
"description": "Call the public grpcb.in addsvc.Add/Sum unary RPC through Crank.",
|
||||
"tags": [
|
||||
"grpc",
|
||||
"math",
|
||||
"smoke"
|
||||
],
|
||||
"examples": [
|
||||
{
|
||||
"input": {
|
||||
"a": 7,
|
||||
"b": 5
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package addsvc;
|
||||
|
||||
service Add {
|
||||
rpc Sum (SumRequest) returns (SumReply) {}
|
||||
rpc Concat (ConcatRequest) returns (ConcatReply) {}
|
||||
}
|
||||
|
||||
message SumRequest {
|
||||
int64 a = 1;
|
||||
int64 b = 2;
|
||||
}
|
||||
|
||||
message SumReply {
|
||||
int64 v = 1;
|
||||
string err = 2;
|
||||
}
|
||||
|
||||
message ConcatRequest {
|
||||
string a = 1;
|
||||
string b = 2;
|
||||
}
|
||||
|
||||
message ConcatReply {
|
||||
string v = 1;
|
||||
string err = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user