> For the complete documentation index, see [llms.txt](https://docs.lagomchain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lagomchain.com/lagomchain-cli/drafting-a-proposal.md).

# Drafting a proposal

The `draft-proposal` command in the LagomChain CLI is part of the Cosmos-SDK governance module and is used to generate a draft proposal JSON file. This generated proposal JSON file contains a skeleton structure for a governance proposal.

### Command Syntax[​](broken://pages/43EhCd8DdBQGjNdBYsPb) <a href="#command-syntax" id="command-syntax"></a>

```
lagomd tx gov draft-proposal [flags]
```

### Usage[​](broken://pages/43EhCd8DdBQGjNdBYsPb) <a href="#usage" id="usage"></a>

To create a draft proposal using the `lagomd tx gov draft-proposal` command, follow these steps:

1. Run the command

   ```
   lagomd tx gov draft-proposal
   ```
2. The command will present a list of proposal types for selection. The available options typically include:

   ```
   Use the arrow keys to navigate: ↓ ↑ → ← 
    ? Select proposal type: 
        text
        community-pool-spend
        software-upgrade
        cancel-software-upgrade
      ▸ other
   ```

   In case you don't find the required proposal (e.g. update params), choose the `other` option. It will show an extensive list of the supported messages:

   ```
   ✔ other
   Use the arrow keys to navigate: ↓ ↑ → ← 
   ? Select proposal message type:: 
   ↑   /lagom.erc20.v1.MsgConvertERC20
     ▸ /lagom.erc20.v1.MsgUpdateParams
       /lagom.vesting.v2.MsgFundVestingAccount
       /lagom.vesting.v2.MsgUpdateVestingFunder
   ↓   /lagom.inflation.v1.MsgUpdateParams
   ```
3. Follow the on-screen instructions to complete the process. The command will generate a JSON file that you can use for your proposal.
4. Once the JSON file is generated, you can make any necessary changes to the proposal information within the file.
5. Finally, use the generated JSON file as input when submitting your proposal using the `lagomd tx gov submit-proposal` command.

   ```
   lagomd tx gov submit-proposal draft_proposal.json [flags]
   ```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.lagomchain.com/lagomchain-cli/drafting-a-proposal.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
