model-visible.json 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  1. [
  2. {
  3. "tools": [
  4. {
  5. "type": "function",
  6. "function": {
  7. "name": "pwsh",
  8. "description": "Run commands in a PowerShell shell\n* When invoking this tool, the contents of the \"command\" parameter does NOT need to be XML-escaped.\n* You don't have access to the internet via this tool.\n* State is persistent across command calls and discussions with the user.\n* Use native Windows paths (C:\\...) and $env:NAME variables; this is PowerShell, not bash.\n* Please avoid commands that may produce a very large amount of output.\n* Please run long lived commands in the background, e.g. 'Start-Job' or start a server with Start-Process.",
  9. "parameters": {
  10. "type": "object",
  11. "properties": {
  12. "command": {
  13. "type": "string",
  14. "description": "The PowerShell command to run. Relative path is preferred in the command."
  15. }
  16. },
  17. "required": [
  18. "command"
  19. ]
  20. }
  21. }
  22. },
  23. {
  24. "type": "function",
  25. "function": {
  26. "name": "str_replace_editor",
  27. "description": "Custom editing tool for viewing, creating and editing files\n* State is persistent across command calls and discussions with the user\n* If `path` is a file, `view` displays the result of applying `cat -n`. If `path` is a directory, `view` lists non-hidden files and directories up to 2 levels deep\n* The `create` command cannot be used if the specified `path` already exists as a file\n* If a `command` generates a long output, it will be truncated and marked with `<response clipped>`\n* A null placeholder for a parameter unused by the selected command is treated as omitted. Required parameters still need values; omit `str_replace.new_str` rather than setting it to null when deleting a match\n\nNotes for using the `str_replace` command:\n* The `old_str` parameter should match EXACTLY one or more consecutive lines from the original file. Be mindful of whitespaces!\n* If the `old_str` parameter is not unique in the file, the replacement will not be performed. Make sure to include enough context in `old_str` to make it unique\n* The `new_str` parameter should contain the edited lines that should replace the `old_str`",
  28. "parameters": {
  29. "type": "object",
  30. "properties": {
  31. "command": {
  32. "type": "string",
  33. "description": "The commands to run. Allowed options are: `view`, `create`, `str_replace`, `insert`.",
  34. "enum": [
  35. "view",
  36. "create",
  37. "str_replace",
  38. "insert"
  39. ]
  40. },
  41. "path": {
  42. "type": "string",
  43. "description": "Absolute path to file or directory, e.g. `/repo/file.py` or `/repo`."
  44. },
  45. "file_text": {
  46. "oneOf": [
  47. {
  48. "type": "string"
  49. },
  50. {
  51. "type": "null"
  52. }
  53. ],
  54. "description": "Required string parameter of `create` command, with the content of the file to be created. A null placeholder is treated as omitted by commands that do not use this parameter."
  55. },
  56. "insert_line": {
  57. "oneOf": [
  58. {
  59. "type": "integer"
  60. },
  61. {
  62. "type": "null"
  63. }
  64. ],
  65. "description": "Required integer parameter of `insert` command. The `new_str` will be inserted AFTER the line `insert_line` of `path`. A null placeholder is treated as omitted by commands that do not use this parameter."
  66. },
  67. "new_str": {
  68. "oneOf": [
  69. {
  70. "type": "string"
  71. },
  72. {
  73. "type": "null"
  74. }
  75. ],
  76. "description": "Optional string parameter of `str_replace` command containing the new string (if omitted, no string will be added). Required string parameter of `insert` command containing the string to insert. A null placeholder is accepted only by commands that do not use this parameter."
  77. },
  78. "old_str": {
  79. "oneOf": [
  80. {
  81. "type": "string"
  82. },
  83. {
  84. "type": "null"
  85. }
  86. ],
  87. "description": "Required string parameter of `str_replace` command containing the string in `path` to replace. A null placeholder is treated as omitted by commands that do not use this parameter."
  88. },
  89. "view_range": {
  90. "oneOf": [
  91. {
  92. "type": "array",
  93. "items": {
  94. "type": "integer"
  95. }
  96. },
  97. {
  98. "type": "null"
  99. }
  100. ],
  101. "description": "Optional parameter of `view` command when `path` points to a file. If omitted or null, the full file is shown. If provided, the file will be shown in the indicated line number range, e.g. [11, 12] will show lines 11 and 12. Indexing at 1 to start. Setting `[start_line, -1]` shows all lines from `start_line` to the end of the file."
  102. }
  103. },
  104. "required": [
  105. "command",
  106. "path"
  107. ]
  108. }
  109. }
  110. }
  111. ],
  112. "messages": [
  113. {
  114. "role": "system",
  115. "text": "You are a helpful software engineer assistant."
  116. },
  117. {
  118. "role": "user",
  119. "text": "Exercise the packaged minimal agent's persistent shell and string-replacement editor.\nEditor path: {{cwd}}\\created.txt"
  120. }
  121. ]
  122. },
  123. {
  124. "tools": [
  125. {
  126. "type": "function",
  127. "function": {
  128. "name": "pwsh",
  129. "description": "Run commands in a PowerShell shell\n* When invoking this tool, the contents of the \"command\" parameter does NOT need to be XML-escaped.\n* You don't have access to the internet via this tool.\n* State is persistent across command calls and discussions with the user.\n* Use native Windows paths (C:\\...) and $env:NAME variables; this is PowerShell, not bash.\n* Please avoid commands that may produce a very large amount of output.\n* Please run long lived commands in the background, e.g. 'Start-Job' or start a server with Start-Process.",
  130. "parameters": {
  131. "type": "object",
  132. "properties": {
  133. "command": {
  134. "type": "string",
  135. "description": "The PowerShell command to run. Relative path is preferred in the command."
  136. }
  137. },
  138. "required": [
  139. "command"
  140. ]
  141. }
  142. }
  143. },
  144. {
  145. "type": "function",
  146. "function": {
  147. "name": "str_replace_editor",
  148. "description": "Custom editing tool for viewing, creating and editing files\n* State is persistent across command calls and discussions with the user\n* If `path` is a file, `view` displays the result of applying `cat -n`. If `path` is a directory, `view` lists non-hidden files and directories up to 2 levels deep\n* The `create` command cannot be used if the specified `path` already exists as a file\n* If a `command` generates a long output, it will be truncated and marked with `<response clipped>`\n* A null placeholder for a parameter unused by the selected command is treated as omitted. Required parameters still need values; omit `str_replace.new_str` rather than setting it to null when deleting a match\n\nNotes for using the `str_replace` command:\n* The `old_str` parameter should match EXACTLY one or more consecutive lines from the original file. Be mindful of whitespaces!\n* If the `old_str` parameter is not unique in the file, the replacement will not be performed. Make sure to include enough context in `old_str` to make it unique\n* The `new_str` parameter should contain the edited lines that should replace the `old_str`",
  149. "parameters": {
  150. "type": "object",
  151. "properties": {
  152. "command": {
  153. "type": "string",
  154. "description": "The commands to run. Allowed options are: `view`, `create`, `str_replace`, `insert`.",
  155. "enum": [
  156. "view",
  157. "create",
  158. "str_replace",
  159. "insert"
  160. ]
  161. },
  162. "path": {
  163. "type": "string",
  164. "description": "Absolute path to file or directory, e.g. `/repo/file.py` or `/repo`."
  165. },
  166. "file_text": {
  167. "oneOf": [
  168. {
  169. "type": "string"
  170. },
  171. {
  172. "type": "null"
  173. }
  174. ],
  175. "description": "Required string parameter of `create` command, with the content of the file to be created. A null placeholder is treated as omitted by commands that do not use this parameter."
  176. },
  177. "insert_line": {
  178. "oneOf": [
  179. {
  180. "type": "integer"
  181. },
  182. {
  183. "type": "null"
  184. }
  185. ],
  186. "description": "Required integer parameter of `insert` command. The `new_str` will be inserted AFTER the line `insert_line` of `path`. A null placeholder is treated as omitted by commands that do not use this parameter."
  187. },
  188. "new_str": {
  189. "oneOf": [
  190. {
  191. "type": "string"
  192. },
  193. {
  194. "type": "null"
  195. }
  196. ],
  197. "description": "Optional string parameter of `str_replace` command containing the new string (if omitted, no string will be added). Required string parameter of `insert` command containing the string to insert. A null placeholder is accepted only by commands that do not use this parameter."
  198. },
  199. "old_str": {
  200. "oneOf": [
  201. {
  202. "type": "string"
  203. },
  204. {
  205. "type": "null"
  206. }
  207. ],
  208. "description": "Required string parameter of `str_replace` command containing the string in `path` to replace. A null placeholder is treated as omitted by commands that do not use this parameter."
  209. },
  210. "view_range": {
  211. "oneOf": [
  212. {
  213. "type": "array",
  214. "items": {
  215. "type": "integer"
  216. }
  217. },
  218. {
  219. "type": "null"
  220. }
  221. ],
  222. "description": "Optional parameter of `view` command when `path` points to a file. If omitted or null, the full file is shown. If provided, the file will be shown in the indicated line number range, e.g. [11, 12] will show lines 11 and 12. Indexing at 1 to start. Setting `[start_line, -1]` shows all lines from `start_line` to the end of the file."
  223. }
  224. },
  225. "required": [
  226. "command",
  227. "path"
  228. ]
  229. }
  230. }
  231. }
  232. ],
  233. "messages": [
  234. {
  235. "role": "system",
  236. "text": "You are a helpful software engineer assistant."
  237. },
  238. {
  239. "role": "user",
  240. "text": "Exercise the packaged minimal agent's persistent shell and string-replacement editor.\nEditor path: {{cwd}}\\created.txt"
  241. },
  242. {
  243. "role": "assistant",
  244. "toolCalls": [
  245. {
  246. "id": "minimal-bash-1",
  247. "name": "pwsh"
  248. }
  249. ]
  250. },
  251. {
  252. "role": "tool",
  253. "toolCallId": "minimal-bash-1",
  254. "text": "{{tool-result}}"
  255. }
  256. ]
  257. },
  258. {
  259. "tools": [
  260. {
  261. "type": "function",
  262. "function": {
  263. "name": "pwsh",
  264. "description": "Run commands in a PowerShell shell\n* When invoking this tool, the contents of the \"command\" parameter does NOT need to be XML-escaped.\n* You don't have access to the internet via this tool.\n* State is persistent across command calls and discussions with the user.\n* Use native Windows paths (C:\\...) and $env:NAME variables; this is PowerShell, not bash.\n* Please avoid commands that may produce a very large amount of output.\n* Please run long lived commands in the background, e.g. 'Start-Job' or start a server with Start-Process.",
  265. "parameters": {
  266. "type": "object",
  267. "properties": {
  268. "command": {
  269. "type": "string",
  270. "description": "The PowerShell command to run. Relative path is preferred in the command."
  271. }
  272. },
  273. "required": [
  274. "command"
  275. ]
  276. }
  277. }
  278. },
  279. {
  280. "type": "function",
  281. "function": {
  282. "name": "str_replace_editor",
  283. "description": "Custom editing tool for viewing, creating and editing files\n* State is persistent across command calls and discussions with the user\n* If `path` is a file, `view` displays the result of applying `cat -n`. If `path` is a directory, `view` lists non-hidden files and directories up to 2 levels deep\n* The `create` command cannot be used if the specified `path` already exists as a file\n* If a `command` generates a long output, it will be truncated and marked with `<response clipped>`\n* A null placeholder for a parameter unused by the selected command is treated as omitted. Required parameters still need values; omit `str_replace.new_str` rather than setting it to null when deleting a match\n\nNotes for using the `str_replace` command:\n* The `old_str` parameter should match EXACTLY one or more consecutive lines from the original file. Be mindful of whitespaces!\n* If the `old_str` parameter is not unique in the file, the replacement will not be performed. Make sure to include enough context in `old_str` to make it unique\n* The `new_str` parameter should contain the edited lines that should replace the `old_str`",
  284. "parameters": {
  285. "type": "object",
  286. "properties": {
  287. "command": {
  288. "type": "string",
  289. "description": "The commands to run. Allowed options are: `view`, `create`, `str_replace`, `insert`.",
  290. "enum": [
  291. "view",
  292. "create",
  293. "str_replace",
  294. "insert"
  295. ]
  296. },
  297. "path": {
  298. "type": "string",
  299. "description": "Absolute path to file or directory, e.g. `/repo/file.py` or `/repo`."
  300. },
  301. "file_text": {
  302. "oneOf": [
  303. {
  304. "type": "string"
  305. },
  306. {
  307. "type": "null"
  308. }
  309. ],
  310. "description": "Required string parameter of `create` command, with the content of the file to be created. A null placeholder is treated as omitted by commands that do not use this parameter."
  311. },
  312. "insert_line": {
  313. "oneOf": [
  314. {
  315. "type": "integer"
  316. },
  317. {
  318. "type": "null"
  319. }
  320. ],
  321. "description": "Required integer parameter of `insert` command. The `new_str` will be inserted AFTER the line `insert_line` of `path`. A null placeholder is treated as omitted by commands that do not use this parameter."
  322. },
  323. "new_str": {
  324. "oneOf": [
  325. {
  326. "type": "string"
  327. },
  328. {
  329. "type": "null"
  330. }
  331. ],
  332. "description": "Optional string parameter of `str_replace` command containing the new string (if omitted, no string will be added). Required string parameter of `insert` command containing the string to insert. A null placeholder is accepted only by commands that do not use this parameter."
  333. },
  334. "old_str": {
  335. "oneOf": [
  336. {
  337. "type": "string"
  338. },
  339. {
  340. "type": "null"
  341. }
  342. ],
  343. "description": "Required string parameter of `str_replace` command containing the string in `path` to replace. A null placeholder is treated as omitted by commands that do not use this parameter."
  344. },
  345. "view_range": {
  346. "oneOf": [
  347. {
  348. "type": "array",
  349. "items": {
  350. "type": "integer"
  351. }
  352. },
  353. {
  354. "type": "null"
  355. }
  356. ],
  357. "description": "Optional parameter of `view` command when `path` points to a file. If omitted or null, the full file is shown. If provided, the file will be shown in the indicated line number range, e.g. [11, 12] will show lines 11 and 12. Indexing at 1 to start. Setting `[start_line, -1]` shows all lines from `start_line` to the end of the file."
  358. }
  359. },
  360. "required": [
  361. "command",
  362. "path"
  363. ]
  364. }
  365. }
  366. }
  367. ],
  368. "messages": [
  369. {
  370. "role": "system",
  371. "text": "You are a helpful software engineer assistant."
  372. },
  373. {
  374. "role": "user",
  375. "text": "Exercise the packaged minimal agent's persistent shell and string-replacement editor.\nEditor path: {{cwd}}\\created.txt"
  376. },
  377. {
  378. "role": "assistant",
  379. "toolCalls": [
  380. {
  381. "id": "minimal-bash-1",
  382. "name": "pwsh"
  383. }
  384. ]
  385. },
  386. {
  387. "role": "tool",
  388. "toolCallId": "minimal-bash-1",
  389. "text": "{{tool-result}}"
  390. },
  391. {
  392. "role": "assistant",
  393. "toolCalls": [
  394. {
  395. "id": "minimal-bash-2",
  396. "name": "pwsh"
  397. }
  398. ]
  399. },
  400. {
  401. "role": "tool",
  402. "toolCallId": "minimal-bash-2",
  403. "text": "{{tool-result}}"
  404. }
  405. ]
  406. },
  407. {
  408. "tools": [
  409. {
  410. "type": "function",
  411. "function": {
  412. "name": "pwsh",
  413. "description": "Run commands in a PowerShell shell\n* When invoking this tool, the contents of the \"command\" parameter does NOT need to be XML-escaped.\n* You don't have access to the internet via this tool.\n* State is persistent across command calls and discussions with the user.\n* Use native Windows paths (C:\\...) and $env:NAME variables; this is PowerShell, not bash.\n* Please avoid commands that may produce a very large amount of output.\n* Please run long lived commands in the background, e.g. 'Start-Job' or start a server with Start-Process.",
  414. "parameters": {
  415. "type": "object",
  416. "properties": {
  417. "command": {
  418. "type": "string",
  419. "description": "The PowerShell command to run. Relative path is preferred in the command."
  420. }
  421. },
  422. "required": [
  423. "command"
  424. ]
  425. }
  426. }
  427. },
  428. {
  429. "type": "function",
  430. "function": {
  431. "name": "str_replace_editor",
  432. "description": "Custom editing tool for viewing, creating and editing files\n* State is persistent across command calls and discussions with the user\n* If `path` is a file, `view` displays the result of applying `cat -n`. If `path` is a directory, `view` lists non-hidden files and directories up to 2 levels deep\n* The `create` command cannot be used if the specified `path` already exists as a file\n* If a `command` generates a long output, it will be truncated and marked with `<response clipped>`\n* A null placeholder for a parameter unused by the selected command is treated as omitted. Required parameters still need values; omit `str_replace.new_str` rather than setting it to null when deleting a match\n\nNotes for using the `str_replace` command:\n* The `old_str` parameter should match EXACTLY one or more consecutive lines from the original file. Be mindful of whitespaces!\n* If the `old_str` parameter is not unique in the file, the replacement will not be performed. Make sure to include enough context in `old_str` to make it unique\n* The `new_str` parameter should contain the edited lines that should replace the `old_str`",
  433. "parameters": {
  434. "type": "object",
  435. "properties": {
  436. "command": {
  437. "type": "string",
  438. "description": "The commands to run. Allowed options are: `view`, `create`, `str_replace`, `insert`.",
  439. "enum": [
  440. "view",
  441. "create",
  442. "str_replace",
  443. "insert"
  444. ]
  445. },
  446. "path": {
  447. "type": "string",
  448. "description": "Absolute path to file or directory, e.g. `/repo/file.py` or `/repo`."
  449. },
  450. "file_text": {
  451. "oneOf": [
  452. {
  453. "type": "string"
  454. },
  455. {
  456. "type": "null"
  457. }
  458. ],
  459. "description": "Required string parameter of `create` command, with the content of the file to be created. A null placeholder is treated as omitted by commands that do not use this parameter."
  460. },
  461. "insert_line": {
  462. "oneOf": [
  463. {
  464. "type": "integer"
  465. },
  466. {
  467. "type": "null"
  468. }
  469. ],
  470. "description": "Required integer parameter of `insert` command. The `new_str` will be inserted AFTER the line `insert_line` of `path`. A null placeholder is treated as omitted by commands that do not use this parameter."
  471. },
  472. "new_str": {
  473. "oneOf": [
  474. {
  475. "type": "string"
  476. },
  477. {
  478. "type": "null"
  479. }
  480. ],
  481. "description": "Optional string parameter of `str_replace` command containing the new string (if omitted, no string will be added). Required string parameter of `insert` command containing the string to insert. A null placeholder is accepted only by commands that do not use this parameter."
  482. },
  483. "old_str": {
  484. "oneOf": [
  485. {
  486. "type": "string"
  487. },
  488. {
  489. "type": "null"
  490. }
  491. ],
  492. "description": "Required string parameter of `str_replace` command containing the string in `path` to replace. A null placeholder is treated as omitted by commands that do not use this parameter."
  493. },
  494. "view_range": {
  495. "oneOf": [
  496. {
  497. "type": "array",
  498. "items": {
  499. "type": "integer"
  500. }
  501. },
  502. {
  503. "type": "null"
  504. }
  505. ],
  506. "description": "Optional parameter of `view` command when `path` points to a file. If omitted or null, the full file is shown. If provided, the file will be shown in the indicated line number range, e.g. [11, 12] will show lines 11 and 12. Indexing at 1 to start. Setting `[start_line, -1]` shows all lines from `start_line` to the end of the file."
  507. }
  508. },
  509. "required": [
  510. "command",
  511. "path"
  512. ]
  513. }
  514. }
  515. }
  516. ],
  517. "messages": [
  518. {
  519. "role": "system",
  520. "text": "You are a helpful software engineer assistant."
  521. },
  522. {
  523. "role": "user",
  524. "text": "Exercise the packaged minimal agent's persistent shell and string-replacement editor.\nEditor path: {{cwd}}\\created.txt"
  525. },
  526. {
  527. "role": "assistant",
  528. "toolCalls": [
  529. {
  530. "id": "minimal-bash-1",
  531. "name": "pwsh"
  532. }
  533. ]
  534. },
  535. {
  536. "role": "tool",
  537. "toolCallId": "minimal-bash-1",
  538. "text": "{{tool-result}}"
  539. },
  540. {
  541. "role": "assistant",
  542. "toolCalls": [
  543. {
  544. "id": "minimal-bash-2",
  545. "name": "pwsh"
  546. }
  547. ]
  548. },
  549. {
  550. "role": "tool",
  551. "toolCallId": "minimal-bash-2",
  552. "text": "{{tool-result}}"
  553. },
  554. {
  555. "role": "assistant",
  556. "toolCalls": [
  557. {
  558. "id": "minimal-editor",
  559. "name": "str_replace_editor"
  560. }
  561. ]
  562. },
  563. {
  564. "role": "tool",
  565. "toolCallId": "minimal-editor",
  566. "text": "{{tool-result}}"
  567. }
  568. ]
  569. }
  570. ]