Commit b05c64b
Simplify call_control_plane_api response format for LLM consumers (#7)
Flatten the wrapper object so LLMs no longer confuse metadata with the
actual API response body. Replace success/status_code/data keys with
http_status_code and raw_response on all HTTP response paths while
keeping tool-level error paths unchanged.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5e50f90 commit b05c64b
1 file changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
313 | | - | |
| 311 | + | |
| 312 | + | |
314 | 313 | | |
315 | 314 | | |
316 | 315 | | |
317 | 316 | | |
318 | | - | |
319 | | - | |
320 | | - | |
| 317 | + | |
| 318 | + | |
321 | 319 | | |
322 | 320 | | |
323 | 321 | | |
| |||
327 | 325 | | |
328 | 326 | | |
329 | 327 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
| 328 | + | |
| 329 | + | |
334 | 330 | | |
335 | 331 | | |
336 | 332 | | |
| |||
0 commit comments