tune-basic-toolset 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,6 +14,7 @@ Basic toolset for [Tune](https://github.com/iovdin/tune).
14
14
  - [cmd](#cmd) execute Windows cmd command
15
15
  - [powershell](#powershell) execute PowerShell command
16
16
  - [grep](#grep) search for patterns in text or files
17
+ - [search_tools](#search_tools) find appropriate tools for a task
17
18
  - [osa](#osa) manage reminders/notes/calendar (AppleScript/macOS)
18
19
  - [jina_r](#jina_r) fetch webpage content
19
20
  - [websearch](#websearch) search the web with web-enabled llms
@@ -202,6 +203,23 @@ TODOS:
202
203
 
203
204
  ```
204
205
 
206
+ ### `search_tools`
207
+ Find appropriate tools for a given task by searching through available tools
208
+ ```chat
209
+ user: @search_tools
210
+ I need to work with a database and manage todos
211
+
212
+ A:
213
+
214
+ tool_call: search_tools
215
+ I need to work with a database and manage todos
216
+ tool_result:
217
+ @sqlite "sqlite" - because it helps to execute sqlite queries on databases
218
+ @list "list" - because it helps with managing todo lists and tasks
219
+ ```
220
+
221
+ This tool analyzes your task description and recommends the most relevant tools from the available toolset, explaining why each tool would be helpful for your specific use case.
222
+
205
223
  ### `osa`
206
224
  AppleScript tool, manage reminders, notes, calendar etc on osx
207
225
  ```chat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tune-basic-toolset",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Basic toolset for tune",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -0,0 +1,14 @@
1
+ {
2
+ "description": "There is a tool list available, find ones and connect that are appropriate for the task",
3
+ "parameters": {
4
+ "type": "object",
5
+ "properties": {
6
+ "text": {
7
+ "type": "string",
8
+ "description": "User task description"
9
+ }
10
+ },
11
+ "required": ["text"]
12
+ },
13
+ "$escape_output": false
14
+ }
@@ -0,0 +1,17 @@
1
+ system:
2
+ @{ gpt-5 | prop reasoning_effort=low }
3
+ Given user task
4
+ You provide a list of tools that are best help for the user
5
+
6
+ <tool-list>
7
+ @|tool_list
8
+ </tool-list>
9
+
10
+ example answer:
11
+ ```
12
+ \@tool_name1 "tool_name1" - because it helps to do X
13
+ \@tool_name2 "tool_name2" - because it helps with Y
14
+ ...
15
+ ```
16
+ user:
17
+ @text
@@ -0,0 +1,14 @@
1
+ module.exports = async function toolList(node, args, ctx) {
2
+ const tools = await ctx.resolve(".*", {
3
+ type: "tool",
4
+ output: "all",
5
+ match: "regex"
6
+ })
7
+
8
+ return {
9
+ type: "text",
10
+ read: async () =>
11
+ tools.map(tool => `## tool: '${tool.name}'\n${tool.schema?.description}\n` ).join("\n")
12
+
13
+ }
14
+ }