# 创建新类型

[资料库（Library）](/anytype-docs/documentation_cn/ji-chu/anytype-library.md) 是管理、搜索和创建新类型的中枢。

### 在资料库创建类型

点击搜索栏，输入要创建的类型名称。下拉菜单中将出现 Anytype 资料库中所有匹配的术语。你可以选择其中任何一个，它们就会新安装到你的类型库中。如果你想创建自己的类型，只需选择 `+ 创建 "类型名" 类型` 的选项即可。

<figure><img src="/files/baTN0eEzHpPg9cxid4qZ" alt=""><figcaption></figcaption></figure>

如果选择了创建你自己的类型，则会自动打开【类型】页面。在这里，你可以为类型添加模板和关联，它们会在你每次创建这种类型的对象时自动应用。

<figure><img src="/files/LtMrydtCHIX9lohGRjal" alt=""><figcaption></figcaption></figure>

如果你认为这个【类型】没有意义，可以使用角落的三点菜单从空间中删除该类型。请谨慎操作；如果某个类型从你的资料库中被删除，那么该类型的任何对象都将会显示警告信息。

<figure><img src="/files/UlrJlH3uoSLHyAxPE3Gq" alt=""><figcaption></figcaption></figure>

### 在对象编辑器创建类型

如果你在创建对象时想到了新的对象类型，可以立即创建一个新类型。这种情况下，使用类型选择菜单的方法，与使用类型库中搜索栏的方法相同。新类型将会自动添加到【类型库】中，同时，你可以继续编辑当前新类型的对象。

<figure><img src="/files/SxSAI7tzWWvbgIySWH1R" alt=""><figcaption></figcaption></figure>

如果你在 *创建对象后* 决定将其转换为新的对象类型，也可以点击对象类型，选择“更改类型”，然后输入你要创建的类型名称。

<figure><img src="/files/Wt63QUx7RlOqi4V3tmbT" alt=""><figcaption></figcaption></figure>

你在对象编辑器中创建的所有类型，都可以通过上面的步骤在类型库中进行编辑。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.anytype.io/anytype-docs/documentation_cn/ji-chu/types/create-a-new-type.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
