1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"manual_version": "1.0.0",
"utcp_version": "0.3.0",
"info": {
"title": "Example UTCP Tools Manual",
"version": "1.0.0",
"description": "Demonstration of v1.0 manual format with tools"
},
"allowed_communication_protocols": [
"http",
"cli"
],
"tools": [
{
"name": "get_weather",
"description": "Get current weather for a city",
"inputs": {
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name"
},
"units": {
"type": "string",
"enum": [
"metric",
"imperial"
],
"description": "Temperature units"
}
},
"required": [
"city"
]
},
"outputs": {
"type": "object"
},
"tool_call_template": {
"call_template_type": "http",
"name": "weather_api",
"url": "https://api.weather.example.com/tools",
"http_method": "GET",
"headers": {
"Accept": "application/json"
}
},
"tags": [
"weather",
"demo"
]
},
{
"name": "git_status",
"description": "Get git repository status",
"inputs": {
"type": "object"
},
"outputs": {
"type": "object"
},
"tool_call_template": {
"call_template_type": "cli",
"name": "git_tools",
"command": "git",
"working_dir": "/path/to/repo"
},
"tags": [
"git",
"version-control"
]
},
{
"name": "api_call",
"description": "Make authenticated API call",
"inputs": {
"type": "object",
"properties": {
"endpoint": {
"type": "string",
"description": "API endpoint path"
}
}
},
"outputs": {
"type": "object"
},
"tool_call_template": {
"call_template_type": "http",
"name": "api_with_auth",
"url": "https://api.example.com/utcp",
"http_method": "GET",
"auth": {
"auth_type": "api_key",
"api_key": "${API_KEY}",
"var_name": "X-API-Key",
"location": "header"
}
},
"tags": [
"api",
"authenticated"
]
}
],
"load_variables_from": [
{
"variable_loader_type": "dotenv",
"env_file_path": ".env"
}
]
}