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

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