> For the complete documentation index, see [llms.txt](https://docs.factor.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.factor.fi/factor-studio/strategy-builder/building-blocks-user-guide/borrow.md).

# Borrow

## Overview

The [Borrow Building Block](/factor-building-blocks/borrow.md) functions as an automation and composability layer between the borrow request and multiple integrated lending protocols. With the Borrow Building Block, strategies can source more liquidity for amplified gains via an endless variety of multi-token strategies.

## Actions

{% hint style="info" %}
You will need to collateralize assets via the Lending Building Block before you can initiate a collatarallized borrow from the underlying markets.
{% endhint %}

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

1. **Debt Token:** Select the token to borrow by searching via token symbol or name. Tokens borrowed will be charged a dynamic borrow interest.
2. **Borrow Amount:** The number of debt tokens to borrow from the selected lending market. The number of tokens available to borrow will be dependent on the value of your collateral as well as the [collateralization ratio](/getting-started/glossary.md#collateralisation-ratio) of your selected market.
3. **Protocol:** Select the underlying lending protocol to borrow from.
4. **Lending Market:** Select a lending market which you have previously provided collateral to.


---

# 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.factor.fi/factor-studio/strategy-builder/building-blocks-user-guide/borrow.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.
