> ## Documentation Index
> Fetch the complete documentation index at: https://dev.marginnote.com.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# AgentToolsObject

> Deprecated global tool registry injected by the host script.

## Methods

### get()

```typescript
get(name: string): AgentTool | null
```

#### Parameters

**name** `string` *required*

#### Returns

`AgentTool | null`

### list()

```typescript
list(): AgentToolInfo[]
```

#### Returns

`AgentToolInfo[]`

### register()

```typescript
register(tool: AgentTool): void
```

#### Parameters

**tool** `AgentTool` *required*

### run()

```typescript
run(name: string, input?: unknown): Promise<unknown>
```

#### Parameters

**name** `string` *required*

**input** `unknown`

#### Returns

`Promise<unknown>`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.