{"_id":"@agent-orch/tool","_rev":"2-eda3c34ff90e976a10b317df3b0ec15a","name":"@agent-orch/tool","dist-tags":{"beta":"0.0.1-beta.0","latest":"0.0.1"},"versions":{"0.0.1-beta.0":{"name":"@agent-orch/tool","version":"0.0.1-beta.0","_id":"@agent-orch/tool@0.0.1-beta.0","maintainers":[{"name":"yuliang.fe","email":"yulight4512@gmail.com"}],"dist":{"shasum":"ac8dc2cf85470a2a488da43c0ec38307f2529c84","tarball":"https://registry.npmjs.org/@agent-orch/tool/-/tool-0.0.1-beta.0.tgz","fileCount":22,"integrity":"sha512-1RbLVVFDjbei0DkvIZybCaZpe5LnHVI6Jl86UQnMUhcPu63g7TNVeZl+lLafymFsrjVZ4gOhgKhtk9+HfTyeiQ==","signatures":[{"sig":"MEUCICv5R0ZSapZIm9tB/+p9aGy9U1XjI4Mfz3DNzZKGfk/8AiEAjlZEmo27S+pnuum6Ncdxmv0LBJLkWGajACmitf7b/XU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16779},"main":"./dist/cjs/index.cjs","type":"module","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","source":"./src/index.ts","require":"./dist/cjs/index.cjs"}},"gitHead":"89c385cc357c523f7ea354d50636c3097378ce2b","scripts":{"dev":"rslib build --watch","lint":"eslint src/","test":"vitest run","build":"rslib build","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"yuliang.fe","email":"yulight4512@gmail.com"},"_npmVersion":"11.6.1","description":"Built-in reusable tools for agents in the Agent Harness framework. Provides ready-made tool implementations that can be injected into any agent.","directories":{},"_nodeVersion":"24.11.0","dependencies":{"zod":"^3.24.0","@agent-orch/core":"^0.0.1-beta.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.1.0","typescript":"^5.8.0","@rslib/core":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/tool_0.0.1-beta.0_1775307955233_0.5523397750809371","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@agent-orch/tool","version":"0.0.1","type":"module","exports":{".":{"source":"./src/index.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs"}},"main":"./dist/cjs/index.cjs","module":"./dist/esm/index.js","types":"./dist/esm/index.d.ts","scripts":{"build":"rslib build","dev":"rslib build --watch","test":"vitest run","typecheck":"tsc --noEmit","clean":"rm -rf dist","lint":"eslint src/"},"dependencies":{"@agent-orch/core":"^0.0.1-beta.1","zod":"^3.24.0"},"devDependencies":{"@rslib/core":"^0.6.0","typescript":"^5.8.0","vitest":"^3.1.0"},"gitHead":"89c385cc357c523f7ea354d50636c3097378ce2b","_id":"@agent-orch/tool@0.0.1","description":"Built-in reusable tools for agents in the Agent Orch framework. Provides ready-made tool implementations that can be injected into any agent.","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-Hs2PloCG/mFgeVTBogzh3IZHZl4ROTygKyIuCmbLFeB63Lq0NCsPj7M9FtrcmX6jpSbdLSsBsOLaHR/nERCDxA==","shasum":"3fe5e7ae853f730492aa9d03c3570e42ff74fc60","tarball":"https://registry.npmjs.org/@agent-orch/tool/-/tool-0.0.1.tgz","fileCount":22,"unpackedSize":16766,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD3nfBa8eJ6+pB7nn9uba+6IEmrCn3FwboPCatzVEa+mQIgBqbvZdb3pSMQyKhpIJ7Xjr2w8NT6g7Ws/6BJoBqeT9U="}]},"_npmUser":{"name":"yuliang.fe","email":"yulight4512@gmail.com"},"directories":{},"maintainers":[{"name":"yuliang.fe","email":"yulight4512@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tool_0.0.1_1775311868323_0.9615128992303748"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-04T13:05:55.143Z","modified":"2026-04-04T14:11:08.641Z","0.0.1-beta.0":"2026-04-04T13:05:55.382Z","0.0.1":"2026-04-04T14:11:08.491Z"},"description":"Built-in reusable tools for agents in the Agent Orch framework. Provides ready-made tool implementations that can be injected into any agent.","maintainers":[{"name":"yuliang.fe","email":"yulight4512@gmail.com"}],"readme":"# @agent-orch/tool\n\nBuilt-in reusable tools for agents in the Agent Orch framework. Provides ready-made tool implementations that can be injected into any agent.\n\n## Available Tools\n\n### Todo Tools\n\nTask management tools for agents to track and organize work.\n\n| Tool | Description |\n|------|-------------|\n| `setTodo` | Create or update a todo item |\n| `getTodo` | Retrieve current todo list state |\n\n## Installation\n\n```bash\npnpm add @agent-orch/tool\n```\n\n## Key API\n\n| Export | Description |\n|--------|-------------|\n| `setTodo` | Tool definition for creating/updating todos |\n| `getTodo` | Tool definition for reading todos |\n\n## Usage\n\n```typescript\nimport { setTodo, getTodo } from \"@agent-orch/tool\";\n\nconst agent = new Agent({\n  llm,\n  tools: [setTodo, getTodo, ...otherTools],\n  systemPrompt: \"You are a helpful assistant.\",\n});\n```\n\nEach tool conforms to the `Tool` interface from `@agent-orch/core` and can be passed directly into any agent's tool array.\n\n## Dependencies\n\n| Package | Purpose |\n|---------|---------|\n| `@agent-orch/core` | Core `Tool` type and interfaces |\n| `zod` | Runtime schema validation for tool inputs |\n\n## Documentation\n\nSee the [Agent Orch docs](../../../README.md) for full framework documentation.\n","readmeFilename":"README.md"}