Skip to content

Commit a75c220

Browse files
Add ListTools RPC and refactor tool metadata (#8401)
* Refactor AI tool metadata * Add ListTools RPC * Self review * Change title to display_name in Tool message
1 parent c0a3dab commit a75c220

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1935
-821
lines changed

proto/gen/rill/admin/v1/admin.swagger.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6319,12 +6319,21 @@ definitions:
63196319
name:
63206320
type: string
63216321
title: The name of the tool
6322+
displayName:
6323+
type: string
6324+
title: The display name of the tool
63226325
description:
63236326
type: string
63246327
title: A human-readable description of the tool
6328+
meta:
6329+
type: object
6330+
title: Metadata about the tool
63256331
inputSchema:
63266332
type: string
63276333
title: JSON Schema defining the expected parameters for the tool (as JSON string)
6334+
outputSchema:
6335+
type: string
6336+
title: JSON Schema defining the expected output of the tool (as JSON string)
63286337
title: Tool represents a tool definition for AI usage
63296338
v1ToolCall:
63306339
type: object

proto/gen/rill/admin/v1/openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,12 +1997,21 @@ components:
19971997
description:
19981998
title: A human-readable description of the tool
19991999
type: string
2000+
displayName:
2001+
title: The display name of the tool
2002+
type: string
20002003
inputSchema:
20012004
title: JSON Schema defining the expected parameters for the tool (as JSON string)
20022005
type: string
2006+
meta:
2007+
title: Metadata about the tool
2008+
type: object
20032009
name:
20042010
title: The name of the tool
20052011
type: string
2012+
outputSchema:
2013+
title: JSON Schema defining the expected output of the tool (as JSON string)
2014+
type: string
20062015
title: Tool represents a tool definition for AI usage
20072016
type: object
20082017
v1ToolCall:

proto/gen/rill/admin/v1/public.openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,12 +1997,21 @@ components:
19971997
description:
19981998
title: A human-readable description of the tool
19991999
type: string
2000+
displayName:
2001+
title: The display name of the tool
2002+
type: string
20002003
inputSchema:
20012004
title: JSON Schema defining the expected parameters for the tool (as JSON string)
20022005
type: string
2006+
meta:
2007+
title: Metadata about the tool
2008+
type: object
20032009
name:
20042010
title: The name of the tool
20052011
type: string
2012+
outputSchema:
2013+
title: JSON Schema defining the expected output of the tool (as JSON string)
2014+
type: string
20062015
title: Tool represents a tool definition for AI usage
20072016
type: object
20082017
v1ToolCall:

proto/gen/rill/ai/v1/ai.pb.go

Lines changed: 88 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/gen/rill/ai/v1/ai.pb.validate.go

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)