conversation-session-unregistered-tool-cold-snapshot.json 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-unregistered-tool-cold-snapshot",
  4. "spec": "./test/e2e/conversation-session/tools/conversation-session-unregistered-tool-cold-snapshot.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "unregistered-tool-cold-snapshot-title",
  8. "description": "UTL 首发的 case-local 标题响应。",
  9. "metadata": {
  10. "id": "unregistered-tool-cold-snapshot-title",
  11. "description": "UTL 首发的 case-local 标题响应。",
  12. "kind": "common",
  13. "source": "synthetic",
  14. "timingPolicy": "fast-text",
  15. "syntheticReason": "标题生成不属于 O17/CHL09 语义;固定响应避免误命中主请求。"
  16. },
  17. "match": {
  18. "method": "POST",
  19. "pathIncludes": "/messages",
  20. "bodyIncludes": ["Generate a concise title", "E2E_UNREGISTERED_TOOL_COLD_SNAPSHOT"]
  21. },
  22. "response": {
  23. "statusCode": 200,
  24. "text": {
  25. "id": "unregistered-tool-cold-snapshot-title",
  26. "inputTokens": 64,
  27. "outputTokens": 8,
  28. "text": "{\"title\":\"Unregistered Tool Cold Snapshot\"}"
  29. }
  30. }
  31. },
  32. {
  33. "id": "unregistered-tool-cold-snapshot-grep-batch",
  34. "description": "单个 model step 返回 60 个 embedded-search Grep 和 1 个必定未注册的 Grep sentinel。",
  35. "metadata": {
  36. "id": "unregistered-tool-cold-snapshot-grep-batch",
  37. "description": "单个 model step 返回 60 个 embedded-search Grep 和 1 个必定未注册的 Grep sentinel。",
  38. "kind": "main",
  39. "source": "synthetic",
  40. "timingPolicy": "fast-text",
  41. "syntheticReason": "稳定复现线上 registry miss,并让同一 turn 超过 60 行 snapshot 尾窗。"
  42. },
  43. "maxMatches": 1,
  44. "match": {
  45. "method": "POST",
  46. "pathIncludes": "/messages",
  47. "lastUserMessageIncludes": ["E2E_UNREGISTERED_TOOL_COLD_SNAPSHOT"],
  48. "bodyExcludes": ["Generate a concise title", "No such tool available: Grep"]
  49. },
  50. "response": {
  51. "statusCode": 200,
  52. "toolUses": [
  53. {
  54. "id": "toolu_e2e_unregistered_grep_01",
  55. "name": "Grep",
  56. "input": {
  57. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  58. "pattern": "E2E_UNREGISTERED_TOOL_01",
  59. "output_mode": "content"
  60. }
  61. },
  62. {
  63. "id": "toolu_e2e_unregistered_grep_02",
  64. "name": "Grep",
  65. "input": {
  66. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  67. "pattern": "E2E_UNREGISTERED_TOOL_02",
  68. "output_mode": "content"
  69. }
  70. },
  71. {
  72. "id": "toolu_e2e_unregistered_grep_03",
  73. "name": "Grep",
  74. "input": {
  75. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  76. "pattern": "E2E_UNREGISTERED_TOOL_03",
  77. "output_mode": "content"
  78. }
  79. },
  80. {
  81. "id": "toolu_e2e_unregistered_grep_04",
  82. "name": "Grep",
  83. "input": {
  84. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  85. "pattern": "E2E_UNREGISTERED_TOOL_04",
  86. "output_mode": "content"
  87. }
  88. },
  89. {
  90. "id": "toolu_e2e_unregistered_grep_05",
  91. "name": "Grep",
  92. "input": {
  93. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  94. "pattern": "E2E_UNREGISTERED_TOOL_05",
  95. "output_mode": "content"
  96. }
  97. },
  98. {
  99. "id": "toolu_e2e_unregistered_grep_06",
  100. "name": "Grep",
  101. "input": {
  102. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  103. "pattern": "E2E_UNREGISTERED_TOOL_06",
  104. "output_mode": "content"
  105. }
  106. },
  107. {
  108. "id": "toolu_e2e_unregistered_grep_07",
  109. "name": "Grep",
  110. "input": {
  111. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  112. "pattern": "E2E_UNREGISTERED_TOOL_07",
  113. "output_mode": "content"
  114. }
  115. },
  116. {
  117. "id": "toolu_e2e_unregistered_grep_08",
  118. "name": "Grep",
  119. "input": {
  120. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  121. "pattern": "E2E_UNREGISTERED_TOOL_08",
  122. "output_mode": "content"
  123. }
  124. },
  125. {
  126. "id": "toolu_e2e_unregistered_grep_09",
  127. "name": "Grep",
  128. "input": {
  129. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  130. "pattern": "E2E_UNREGISTERED_TOOL_09",
  131. "output_mode": "content"
  132. }
  133. },
  134. {
  135. "id": "toolu_e2e_unregistered_grep_10",
  136. "name": "Grep",
  137. "input": {
  138. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  139. "pattern": "E2E_UNREGISTERED_TOOL_10",
  140. "output_mode": "content"
  141. }
  142. },
  143. {
  144. "id": "toolu_e2e_unregistered_grep_11",
  145. "name": "Grep",
  146. "input": {
  147. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  148. "pattern": "E2E_UNREGISTERED_TOOL_11",
  149. "output_mode": "content"
  150. }
  151. },
  152. {
  153. "id": "toolu_e2e_unregistered_grep_12",
  154. "name": "Grep",
  155. "input": {
  156. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  157. "pattern": "E2E_UNREGISTERED_TOOL_12",
  158. "output_mode": "content"
  159. }
  160. },
  161. {
  162. "id": "toolu_e2e_unregistered_grep_13",
  163. "name": "Grep",
  164. "input": {
  165. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  166. "pattern": "E2E_UNREGISTERED_TOOL_13",
  167. "output_mode": "content"
  168. }
  169. },
  170. {
  171. "id": "toolu_e2e_unregistered_grep_14",
  172. "name": "Grep",
  173. "input": {
  174. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  175. "pattern": "E2E_UNREGISTERED_TOOL_14",
  176. "output_mode": "content"
  177. }
  178. },
  179. {
  180. "id": "toolu_e2e_unregistered_grep_15",
  181. "name": "Grep",
  182. "input": {
  183. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  184. "pattern": "E2E_UNREGISTERED_TOOL_15",
  185. "output_mode": "content"
  186. }
  187. },
  188. {
  189. "id": "toolu_e2e_unregistered_grep_16",
  190. "name": "Grep",
  191. "input": {
  192. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  193. "pattern": "E2E_UNREGISTERED_TOOL_16",
  194. "output_mode": "content"
  195. }
  196. },
  197. {
  198. "id": "toolu_e2e_unregistered_grep_17",
  199. "name": "Grep",
  200. "input": {
  201. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  202. "pattern": "E2E_UNREGISTERED_TOOL_17",
  203. "output_mode": "content"
  204. }
  205. },
  206. {
  207. "id": "toolu_e2e_unregistered_grep_18",
  208. "name": "Grep",
  209. "input": {
  210. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  211. "pattern": "E2E_UNREGISTERED_TOOL_18",
  212. "output_mode": "content"
  213. }
  214. },
  215. {
  216. "id": "toolu_e2e_unregistered_grep_19",
  217. "name": "Grep",
  218. "input": {
  219. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  220. "pattern": "E2E_UNREGISTERED_TOOL_19",
  221. "output_mode": "content"
  222. }
  223. },
  224. {
  225. "id": "toolu_e2e_unregistered_grep_20",
  226. "name": "Grep",
  227. "input": {
  228. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  229. "pattern": "E2E_UNREGISTERED_TOOL_20",
  230. "output_mode": "content"
  231. }
  232. },
  233. {
  234. "id": "toolu_e2e_unregistered_grep_21",
  235. "name": "Grep",
  236. "input": {
  237. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  238. "pattern": "E2E_UNREGISTERED_TOOL_21",
  239. "output_mode": "content"
  240. }
  241. },
  242. {
  243. "id": "toolu_e2e_unregistered_grep_22",
  244. "name": "Grep",
  245. "input": {
  246. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  247. "pattern": "E2E_UNREGISTERED_TOOL_22",
  248. "output_mode": "content"
  249. }
  250. },
  251. {
  252. "id": "toolu_e2e_unregistered_grep_23",
  253. "name": "Grep",
  254. "input": {
  255. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  256. "pattern": "E2E_UNREGISTERED_TOOL_23",
  257. "output_mode": "content"
  258. }
  259. },
  260. {
  261. "id": "toolu_e2e_unregistered_grep_24",
  262. "name": "Grep",
  263. "input": {
  264. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  265. "pattern": "E2E_UNREGISTERED_TOOL_24",
  266. "output_mode": "content"
  267. }
  268. },
  269. {
  270. "id": "toolu_e2e_unregistered_grep_25",
  271. "name": "Grep",
  272. "input": {
  273. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  274. "pattern": "E2E_UNREGISTERED_TOOL_25",
  275. "output_mode": "content"
  276. }
  277. },
  278. {
  279. "id": "toolu_e2e_unregistered_grep_26",
  280. "name": "Grep",
  281. "input": {
  282. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  283. "pattern": "E2E_UNREGISTERED_TOOL_26",
  284. "output_mode": "content"
  285. }
  286. },
  287. {
  288. "id": "toolu_e2e_unregistered_grep_27",
  289. "name": "Grep",
  290. "input": {
  291. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  292. "pattern": "E2E_UNREGISTERED_TOOL_27",
  293. "output_mode": "content"
  294. }
  295. },
  296. {
  297. "id": "toolu_e2e_unregistered_grep_28",
  298. "name": "Grep",
  299. "input": {
  300. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  301. "pattern": "E2E_UNREGISTERED_TOOL_28",
  302. "output_mode": "content"
  303. }
  304. },
  305. {
  306. "id": "toolu_e2e_unregistered_grep_29",
  307. "name": "Grep",
  308. "input": {
  309. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  310. "pattern": "E2E_UNREGISTERED_TOOL_29",
  311. "output_mode": "content"
  312. }
  313. },
  314. {
  315. "id": "toolu_e2e_unregistered_grep_30",
  316. "name": "Grep",
  317. "input": {
  318. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  319. "pattern": "E2E_UNREGISTERED_TOOL_30",
  320. "output_mode": "content"
  321. }
  322. },
  323. {
  324. "id": "toolu_e2e_unregistered_grep_31",
  325. "name": "Grep",
  326. "input": {
  327. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  328. "pattern": "E2E_UNREGISTERED_TOOL_31",
  329. "output_mode": "content"
  330. }
  331. },
  332. {
  333. "id": "toolu_e2e_unregistered_grep_32",
  334. "name": "Grep",
  335. "input": {
  336. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  337. "pattern": "E2E_UNREGISTERED_TOOL_32",
  338. "output_mode": "content"
  339. }
  340. },
  341. {
  342. "id": "toolu_e2e_unregistered_grep_33",
  343. "name": "Grep",
  344. "input": {
  345. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  346. "pattern": "E2E_UNREGISTERED_TOOL_33",
  347. "output_mode": "content"
  348. }
  349. },
  350. {
  351. "id": "toolu_e2e_unregistered_grep_34",
  352. "name": "Grep",
  353. "input": {
  354. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  355. "pattern": "E2E_UNREGISTERED_TOOL_34",
  356. "output_mode": "content"
  357. }
  358. },
  359. {
  360. "id": "toolu_e2e_unregistered_grep_35",
  361. "name": "Grep",
  362. "input": {
  363. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  364. "pattern": "E2E_UNREGISTERED_TOOL_35",
  365. "output_mode": "content"
  366. }
  367. },
  368. {
  369. "id": "toolu_e2e_unregistered_grep_36",
  370. "name": "Grep",
  371. "input": {
  372. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  373. "pattern": "E2E_UNREGISTERED_TOOL_36",
  374. "output_mode": "content"
  375. }
  376. },
  377. {
  378. "id": "toolu_e2e_unregistered_grep_37",
  379. "name": "Grep",
  380. "input": {
  381. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  382. "pattern": "E2E_UNREGISTERED_TOOL_37",
  383. "output_mode": "content"
  384. }
  385. },
  386. {
  387. "id": "toolu_e2e_unregistered_grep_38",
  388. "name": "Grep",
  389. "input": {
  390. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  391. "pattern": "E2E_UNREGISTERED_TOOL_38",
  392. "output_mode": "content"
  393. }
  394. },
  395. {
  396. "id": "toolu_e2e_unregistered_grep_39",
  397. "name": "Grep",
  398. "input": {
  399. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  400. "pattern": "E2E_UNREGISTERED_TOOL_39",
  401. "output_mode": "content"
  402. }
  403. },
  404. {
  405. "id": "toolu_e2e_unregistered_grep_40",
  406. "name": "Grep",
  407. "input": {
  408. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  409. "pattern": "E2E_UNREGISTERED_TOOL_40",
  410. "output_mode": "content"
  411. }
  412. },
  413. {
  414. "id": "toolu_e2e_unregistered_grep_41",
  415. "name": "Grep",
  416. "input": {
  417. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  418. "pattern": "E2E_UNREGISTERED_TOOL_41",
  419. "output_mode": "content"
  420. }
  421. },
  422. {
  423. "id": "toolu_e2e_unregistered_grep_42",
  424. "name": "Grep",
  425. "input": {
  426. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  427. "pattern": "E2E_UNREGISTERED_TOOL_42",
  428. "output_mode": "content"
  429. }
  430. },
  431. {
  432. "id": "toolu_e2e_unregistered_grep_43",
  433. "name": "Grep",
  434. "input": {
  435. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  436. "pattern": "E2E_UNREGISTERED_TOOL_43",
  437. "output_mode": "content"
  438. }
  439. },
  440. {
  441. "id": "toolu_e2e_unregistered_grep_44",
  442. "name": "Grep",
  443. "input": {
  444. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  445. "pattern": "E2E_UNREGISTERED_TOOL_44",
  446. "output_mode": "content"
  447. }
  448. },
  449. {
  450. "id": "toolu_e2e_unregistered_grep_45",
  451. "name": "Grep",
  452. "input": {
  453. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  454. "pattern": "E2E_UNREGISTERED_TOOL_45",
  455. "output_mode": "content"
  456. }
  457. },
  458. {
  459. "id": "toolu_e2e_unregistered_grep_46",
  460. "name": "Grep",
  461. "input": {
  462. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  463. "pattern": "E2E_UNREGISTERED_TOOL_46",
  464. "output_mode": "content"
  465. }
  466. },
  467. {
  468. "id": "toolu_e2e_unregistered_grep_47",
  469. "name": "Grep",
  470. "input": {
  471. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  472. "pattern": "E2E_UNREGISTERED_TOOL_47",
  473. "output_mode": "content"
  474. }
  475. },
  476. {
  477. "id": "toolu_e2e_unregistered_grep_48",
  478. "name": "Grep",
  479. "input": {
  480. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  481. "pattern": "E2E_UNREGISTERED_TOOL_48",
  482. "output_mode": "content"
  483. }
  484. },
  485. {
  486. "id": "toolu_e2e_unregistered_grep_49",
  487. "name": "Grep",
  488. "input": {
  489. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  490. "pattern": "E2E_UNREGISTERED_TOOL_49",
  491. "output_mode": "content"
  492. }
  493. },
  494. {
  495. "id": "toolu_e2e_unregistered_grep_50",
  496. "name": "Grep",
  497. "input": {
  498. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  499. "pattern": "E2E_UNREGISTERED_TOOL_50",
  500. "output_mode": "content"
  501. }
  502. },
  503. {
  504. "id": "toolu_e2e_unregistered_grep_51",
  505. "name": "Grep",
  506. "input": {
  507. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  508. "pattern": "E2E_UNREGISTERED_TOOL_51",
  509. "output_mode": "content"
  510. }
  511. },
  512. {
  513. "id": "toolu_e2e_unregistered_grep_52",
  514. "name": "Grep",
  515. "input": {
  516. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  517. "pattern": "E2E_UNREGISTERED_TOOL_52",
  518. "output_mode": "content"
  519. }
  520. },
  521. {
  522. "id": "toolu_e2e_unregistered_grep_53",
  523. "name": "Grep",
  524. "input": {
  525. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  526. "pattern": "E2E_UNREGISTERED_TOOL_53",
  527. "output_mode": "content"
  528. }
  529. },
  530. {
  531. "id": "toolu_e2e_unregistered_grep_54",
  532. "name": "Grep",
  533. "input": {
  534. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  535. "pattern": "E2E_UNREGISTERED_TOOL_54",
  536. "output_mode": "content"
  537. }
  538. },
  539. {
  540. "id": "toolu_e2e_unregistered_grep_55",
  541. "name": "Grep",
  542. "input": {
  543. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  544. "pattern": "E2E_UNREGISTERED_TOOL_55",
  545. "output_mode": "content"
  546. }
  547. },
  548. {
  549. "id": "toolu_e2e_unregistered_grep_56",
  550. "name": "Grep",
  551. "input": {
  552. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  553. "pattern": "E2E_UNREGISTERED_TOOL_56",
  554. "output_mode": "content"
  555. }
  556. },
  557. {
  558. "id": "toolu_e2e_unregistered_grep_57",
  559. "name": "Grep",
  560. "input": {
  561. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  562. "pattern": "E2E_UNREGISTERED_TOOL_57",
  563. "output_mode": "content"
  564. }
  565. },
  566. {
  567. "id": "toolu_e2e_unregistered_grep_58",
  568. "name": "Grep",
  569. "input": {
  570. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  571. "pattern": "E2E_UNREGISTERED_TOOL_58",
  572. "output_mode": "content"
  573. }
  574. },
  575. {
  576. "id": "toolu_e2e_unregistered_grep_59",
  577. "name": "Grep",
  578. "input": {
  579. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  580. "pattern": "E2E_UNREGISTERED_TOOL_59",
  581. "output_mode": "content"
  582. }
  583. },
  584. {
  585. "id": "toolu_e2e_unregistered_grep_60",
  586. "name": "Grep",
  587. "input": {
  588. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  589. "pattern": "E2E_UNREGISTERED_TOOL_60",
  590. "output_mode": "content"
  591. }
  592. },
  593. {
  594. "id": "toolu_e2e_unregistered_grep_61",
  595. "name": "GrepMissingFromRegistry",
  596. "input": {
  597. "path": "{{e2eRuntimeRoot}}/conversation-session-unregistered-tool-cold-snapshot",
  598. "pattern": "E2E_UNREGISTERED_TOOL_61",
  599. "output_mode": "content"
  600. }
  601. }
  602. ]
  603. }
  604. },
  605. {
  606. "id": "unregistered-tool-cold-snapshot-final",
  607. "description": "全部搜索工具快速失败后的同 turn continuation 最终回复。",
  608. "metadata": {
  609. "id": "unregistered-tool-cold-snapshot-final",
  610. "description": "全部搜索工具快速失败后的同 turn continuation 最终回复。",
  611. "kind": "main",
  612. "source": "synthetic",
  613. "timingPolicy": "fast-text",
  614. "syntheticReason": "证明 provider 收到 failed tool results 后 turn 正常 completed,隔离 terminal UI 语义。"
  615. },
  616. "maxMatches": 1,
  617. "match": {
  618. "method": "POST",
  619. "pathIncludes": "/messages",
  620. "bodyIncludes": [
  621. "E2E_UNREGISTERED_TOOL_COLD_SNAPSHOT",
  622. "toolu_e2e_unregistered_grep_01",
  623. "toolu_e2e_unregistered_grep_61",
  624. "No such tool available: Grep"
  625. ],
  626. "bodyExcludes": ["Generate a concise title"]
  627. },
  628. "response": {
  629. "statusCode": 200,
  630. "text": {
  631. "id": "unregistered-tool-cold-snapshot-final",
  632. "inputTokens": 1024,
  633. "outputTokens": 16,
  634. "text": "E2E_UNREGISTERED_TOOL_COLD_SNAPSHOT_DONE"
  635. }
  636. }
  637. }
  638. ]
  639. }