tool

Edits a tool

put/tool/{packageName}

Path parameters

packageNamestring required
Example:@vincent/foo-bar

Package name of the tool to edit

Request body

activeVersionstring

Active version of the tool

titlestring

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

descriptionstring

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

packageNamestring required

Tool NPM package name

Example request

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

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