@toolforest/toolforest-plugin 0.3.4 → 0.3.5
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 +32 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,23 +2,49 @@
|
|
|
2
2
|
|
|
3
3
|
OpenClaw plugin that connects your [Toolforest](https://www.toolforest.io) toolkits as native agent tools. Supports tools across Google Workspace, GitHub, prediction markets, health trackers, and more.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
### 1. Install the plugin
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
10
|
openclaw plugins install @toolforest/toolforest-plugin
|
|
9
|
-
openclaw gateway restart
|
|
10
11
|
```
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
### 2. Set your API key
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
openclaw config set plugins.entries.toolforest.config.apiKey "tfo_your_key_here"
|
|
17
|
+
```
|
|
13
18
|
|
|
14
|
-
|
|
19
|
+
Get your API key at [app.toolforest.io](https://app.toolforest.io).
|
|
20
|
+
|
|
21
|
+
### 3. Make tools available on all tool profiles
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
existing=$(openclaw config get tools.alsoAllow 2>/dev/null || echo '[]')
|
|
25
|
+
openclaw config set tools.alsoAllow "$(node -e "const v=JSON.parse('$existing');
|
|
26
|
+
if(!v.includes('toolforest'))v.push('toolforest'); console.log(JSON.stringify(v))")"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
> **Note:** `tools.alsoAllow` ensures Toolforest tools remain available when using non-full
|
|
30
|
+
> tool profiles such as `coding`, `minimal`, and `messaging`. The command above safely appends
|
|
31
|
+
> `toolforest` to any existing entries — unlike `openclaw config set tools.alsoAllow '["toolforest"]'`
|
|
32
|
+
> which would overwrite the entire list and remove any other plugins you have configured.
|
|
33
|
+
|
|
34
|
+
### 4. Restart the gateway
|
|
15
35
|
|
|
16
36
|
```bash
|
|
17
|
-
openclaw config set plugins.entries.toolforest.config.apiKey tfo_your_key_here
|
|
18
37
|
openclaw gateway restart
|
|
19
38
|
```
|
|
20
39
|
|
|
21
|
-
|
|
40
|
+
### 5. Verify
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
openclaw config get tools.alsoAllow
|
|
44
|
+
openclaw plugins inspect toolforest
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Or set the `TOOLFOREST_API_KEY` environment variable as an alternative to step 2.
|
|
22
48
|
|
|
23
49
|
### Options
|
|
24
50
|
|
|
@@ -59,10 +85,6 @@ This gives the agent curl-based instructions to call the Toolforest MCP server d
|
|
|
59
85
|
- Node.js >= 20
|
|
60
86
|
- A Toolforest account with at least one connected toolkit
|
|
61
87
|
|
|
62
|
-
## Existing sessions
|
|
63
|
-
|
|
64
|
-
After installing or updating the plugin, restart any existing OpenClaw sessions. The plugin will only be available in sessions started after the gateway restart.
|
|
65
|
-
|
|
66
88
|
## License
|
|
67
89
|
|
|
68
90
|
MIT
|
package/package.json
CHANGED