tool

Creates a new tool

post/tool

Request body

packageNamestring required

Tool NPM package name

activeVersionstring required

Active version of the tool

titlestring

Tool title - displayed to users in the dashboard/Vincent Explorer UI

descriptionstring required

Tool description - displayed to users in the dashboard/Vincent Explorer UI

Example request

{
  "packageName": "@lit-protocol/vincent-erc20-approval-tool",
  "activeVersion": "1.0.0",
  "title": "ERC20 Approval Tool",
  "description": "A tool that manages ERC20 approvals for PKPs. Facilitates vincent-uniswap-swap-tool usage."
}

Response

Successful operation

_idstring required

Document ID

updatedAtstring date-time required

Timestamp when this was last modified

createdAtstring date-time required

Timestamp when this was created

packageNamestring required

Tool NPM package name

titlestring

Tool title - displayed to users in the dashboard/Vincent Explorer UI

authorWalletAddressstring required

Author wallet address. Derived from the authorization signature provided by the creator.

descriptionstring required

Tool description - displayed to users in the dashboard/Vincent Explorer UI

activeVersionstring required

Active version of the tool

Example response

{
  "packageName": "@lit-protocol/vincent-erc20-approval-tool",
  "title": "ERC20 Approval Tool",
  "authorWalletAddress": "0x123456789012345678901234567890123456abcd",
  "description": "A tool that manages ERC20 approvals for PKPs. Facilitates vincent-uniswap-swap-tool usage.",
  "activeVersion": "1.0.0"
}

Changes