listMCPTools

Syntax

listMCPTools()

Arguments

None

Details

Retrieves a list of all defined MCP tools.

Return value: A table with the following columns:

  • name: STRING, the tool name.
  • title: STRING, the tool title.
  • description: STRING, the tool description.
  • args: STRING, argument list in the format argName1: argType1, argName2: argType2, ...
  • lastModifyTime: TIMESTAMP, the last modification time.
  • publishTime: TIMESTAMP, publish time.
  • function: BLOB, the function definition.

Examples

listMCPTools()
name title description args lastModifyTime publishTime function
myTool DolphinDB Tools This is a tool a:number 2025.08.13 09:51:56.550 2025.08.13 15:14:14.255 def myTool(x){ return (x * 2) + 1 }