Upload Tool Manifest
Uploads the manifest for a specified tool.
Path Parameters
Name of the tool.
Body
The manifest for a tool that can be used to augment Glean Assistant.
The type of tool.
RETRIEVAL
, ACTION
Unique identifier for the tool. Name should be understandable by the LLM, and will be used to invoke a tool.
Human understandable name of the tool. Max 50 characters.
Description of the tool meant for a human.
Description tailored to an LLM describing how to use the tool. 8,000 character max.
Valid only for ACTION tools. If true, enable default preview and confirmation flow If false, directly execute the action.
Valid only for ACTION tools. Represents the type of action tool REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action.
REDIRECT
, EXECUTION
Example queries that can be used to invoke the tool.
An opaque id which is unique identifier for the tool.
URL used to fetch the logo.
Name of the generated object. This will be used to indicate to the end user what the generated object contains.
["HR ticket", "Email", "Chat message"]
Indicates the kind of knowledge a tool would access or modify.
NEUTRAL_KNOWLEDGE
, COMPANY_KNOWLEDGE
, WORLD_KNOWLEDGE
The time the tool was created in ISO format (ISO 8601)
The time the tool was last updated in ISO format (ISO 8601)
Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action.
REDIRECT
, EXECUTION
The type of authentication being used. Use 'OAUTH_*' when Glean calls an external API (e.g., Jira) on behalf of a user to obtain an OAuth token. 'OAUTH_ADMIN' utilizes an admin token for external API calls on behalf all users. 'OAUTH_USER' uses individual user tokens for external API calls. 'DWD' refers to domain wide delegation.
NONE
, OAUTH_USER
, OAUTH_ADMIN
, API_KEY
, BASIC_AUTH
, DWD
Config for tool's authentication method.
Usage instructions for the LLM to use this action.
Whether this action has been fully configured and validated.
Response
Message detailing the outcome of the operation.