# 3.传递文本参数

本章节会演示如何对默认程序进行简单的修改，来支持传递一个文本参数到一个actor，并编译创建canister获取参数。

本章节讲解了如何在命令行中使用Candid接口描述语言（IDL）传递参数以及如何修改程序允许其接受多个文本参数。


---

# 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://mixdao.gitbook.io/dfinity/si-.-jiao-cheng/3.-chuan-di-wen-ben-can-shu.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.
