Tools
ToolService manages tool sets and tools at the WORKSPACE level. Tool sets group related tools, and tools define specific capabilities for agents. All operations are implicitly scoped to the workspace determined by the JWT token.
Note: When a ToolSet has managed=true, only API Key actors can modify its tools. Profile actors (humans) are restricted from modifying managed tool sets.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
ModelsExpand Collapse
tool: object { metadata, spec, info }
metadata: object { id, accountId, createdAt, 5 more }
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
spec: object { config, description, parameters, 2 more }
config: object { http, mcp }
Config defines the adapter to use for the tool. This is used to determine how the tool is called. For example, if the tool is an HTTP tool, the adapter will be Http. If the tool is an inline tool, the adapter will be Inline.
info: optional object { createdBy, toolSet }
createdBy: optional object { metadata, spec }
Profile represents a human user at the account level. Profiles are account-scoped resources that can be associated with multiple workspaces through the Actor model. Authentication for profiles is handled via SSO/OAuth (WorkOS).
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
toolSet: optional object { id, accountId, createdAt, 5 more }
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
tool_info: object { createdBy, toolSet }
createdBy: optional object { metadata, spec }
Profile represents a human user at the account level. Profiles are account-scoped resources that can be associated with multiple workspaces through the Actor model. Authentication for profiles is handled via SSO/OAuth (WorkOS).
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
toolSet: optional object { id, accountId, createdAt, 5 more }
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
tool_spec: object { config, description, parameters, 2 more }
config: object { http, mcp }
Config defines the adapter to use for the tool. This is used to determine how the tool is called. For example, if the tool is an HTTP tool, the adapter will be Http. If the tool is an inline tool, the adapter will be Inline.
tool_spec_config: object { http, mcp }
Config defines the adapter to use for the tool. This is used to determine how the tool is called. For example, if the tool is an HTTP tool, the adapter will be Http. If the tool is an inline tool, the adapter will be Inline.