Tool

Edits a tool

put/tool/{packageName}

Path parameters

packageNamestring required

The NPM package name

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

deploymentStatus'dev' | 'test' | 'prod'

Identifies if a tool is in development, test, or production.

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.",
  "deploymentStatus": "dev"
}

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 required

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

deploymentStatus'dev' | 'test' | 'prod'

Identifies if a tool is in development, test, or production.

isDeletedboolean

Whether or not this Tool is deleted

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",
  "deploymentStatus": "dev"
}

Changes