Commit 30a3ba0
committed
Revert text description enhancements - keep URLs simple
The enhanced text descriptions were not appropriate for these tools.
Unlike static_map_image_tool (PR #104) which returns an IMAGE,
these tools return URLs that should be opened by the user.
The URL itself is the primary actionable content, and adding
metadata made it less clear. LLMs can understand and use URLs
directly.
Keeping text content simple:
- preview_style_tool: Returns URL only
- style_comparison_tool: Returns URL only
- geojson_preview_tool: Returns URL only
All tests passing (520 tests).1 parent 634eff2 commit 30a3ba0
4 files changed
Lines changed: 14 additions & 98 deletions
File tree
- src/tools
- geojson-preview-tool
- preview-style-tool
- style-comparison-tool
- test/tools/geojson-preview-tool
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 108 | + | |
137 | 109 | | |
138 | 110 | | |
139 | 111 | | |
140 | | - | |
| 112 | + | |
141 | 113 | | |
142 | 114 | | |
143 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 68 | + | |
83 | 69 | | |
84 | 70 | | |
85 | 71 | | |
86 | | - | |
| 72 | + | |
87 | 73 | | |
88 | 74 | | |
89 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 104 | + | |
121 | 105 | | |
122 | 106 | | |
123 | 107 | | |
124 | | - | |
| 108 | + | |
125 | 109 | | |
126 | 110 | | |
127 | 111 | | |
| |||
Lines changed: 8 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 43 | + | |
| 44 | + | |
51 | 45 | | |
52 | 46 | | |
53 | 47 | | |
| |||
110 | 104 | | |
111 | 105 | | |
112 | 106 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 107 | + | |
| 108 | + | |
121 | 109 | | |
122 | 110 | | |
123 | 111 | | |
| |||
154 | 142 | | |
155 | 143 | | |
156 | 144 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
| 145 | + | |
| 146 | + | |
167 | 147 | | |
168 | 148 | | |
169 | 149 | | |
| |||
217 | 197 | | |
218 | 198 | | |
219 | 199 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
| 200 | + | |
| 201 | + | |
228 | 202 | | |
229 | 203 | | |
230 | 204 | | |
| |||
0 commit comments